Click or drag to resize

IAclHierarchyItemGetOwner Method

IT Hit WebDAV Classes Reference
Retrieves a particular principal as being the "owner" of the item. Since the owner of a resource often has special access control capabilities (e.g., the owner frequently has permanent WriteAcl privilege), clients might display the resource owner in their user interface.

Namespace: ITHit.WebDAV.Server.Acl
Assembly: ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 4.5.3121.0
Syntax
IPrincipal GetOwner()

Return Value

Type: IPrincipal
Item that represents owner of this item and implements IPrincipal.
Exceptions
ExceptionCondition
LockedExceptionThe item is locked and no or invalid lock token was provided.
NeedPrivilegesExceptionNot enough permissions.
DavExceptionIn case of other errors.
Remarks
Can be null.
Examples

The code below is part of 'WebDAVServer.NtfsNtlmAcl' sample provided with the SDK.

public IPrincipal GetOwner()
{
    throw new DavException("Not implemented.", DavStatus.NOT_IMPLEMENTED);
}
See Also