Click or drag to resize

IAclHierarchyItemGetGroup 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
IPrincipal GetGroup()

Return Value

Type: IPrincipal
Group principal that 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 return null if group is not assigned.
Examples

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

public IPrincipal GetGroup()
{
    return null;
}
See Also