Click or drag to resize

IAclHierarchyItemAsyncSetOwnerAsync 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: 11.3.10719
Syntax
Task SetOwnerAsync(
	IPrincipalAsync value
)

Task SetOwnerAsync(
	IPrincipalAsync value
)

Parameters

value
Type: ITHit.WebDAV.Server.AclIPrincipalAsync
Identifies whether to search by owner or group.

Return Value

Type: Task
.
Exceptions
ExceptionCondition
LockedExceptionThe item is locked and no or invalid lock token was provided.
NeedPrivilegesExceptionNot enough permissions.
DavExceptionIn case of other errors.
See Also