Click or drag to resize

IPrincipalGetGroupMembershipAsync 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: 13.3.13068
Task<IEnumerable<IPrincipal>> GetGroupMembershipAsync()

Return Value

Type: TaskIEnumerableIPrincipal
Returns group this principal belongs to.
NeedPrivilegesExceptionNot enough permissions.
DavExceptionIn case of other errors.
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