Click or drag to resize

IPrincipalAsyncGetGroupMembershipAsync Method

IT Hit WebDAV Classes Reference
Identifies the groups in which the principal is directly a member.

Namespace:  ITHit.WebDAV.Server.Acl
Assembly:  ITHit.WebDAV.Server (in ITHit.WebDAV.Server.dll) Version: 9.1.5460-Beta
Syntax
Task<IEnumerable<IPrincipalAsync>> GetGroupMembershipAsync()

Return Value

Type: TaskIEnumerableIPrincipalAsync
Returns group this principal belongs to.
Exceptions
ExceptionCondition
NeedPrivilegesExceptionNot enough permissions.
DavExceptionIn case of other errors.
Remarks
Note that a server may allow a group to be a member of another group, in which case the GetGroupMembershipAsync of those other groups would need to be queried in order to determine the groups in which the principal is indirectly a member.
See Also