Click or drag to resize

IAclHierarchyItemSetGroup Method

IT Hit WebDAV Classes Reference
Retrieves a particular principal as being the "group" of the item. This property is commonly found on repositories that implement the Unix privileges model.

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

Parameters

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

Return Value

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

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

public void SetGroup(IPrincipal principal)
{
    throw new DavException("Group cannot be set", DavStatus.FORBIDDEN);
}
See Also