Click or drag to resize

ICurrentUserPrincipal Interface

IT Hit WebDAV Classes Reference
Assists in finding currently loged-in user. Provides current-user-principal feature support. Required by iOS and OS X CalDAV and CardDAV clients on folders pointed to by '.well-known' requests (context path folder).

Namespace:  ITHit.WebDAV.Server.Acl
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 13.3.13068
Syntax
public interface ICurrentUserPrincipal : IAccessControl

The ICurrentUserPrincipal type exposes the following members.

Methods
  NameDescription
Public methodGetCurrentUserPrincipalAsync
Retrieves currently logged in principal.
Top
Remarks
This interface provides GetCurrentUserPrincipalAsync) method that is called by the Engine when client is discovering currently logged-in user. This interface is optional on hierarchy items. However, to support iOS and OS X CalDAV and CardDAV clients this interface must be implemented on item redirected to by /.well-known/caldav and /.well-known/carddav responses. iOS and OS X CalDAV and CardDAV clients request current-user-principal and principal-URL properties on these items and would not connect to server if no proper responce is provided.
See Also