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: 11.3.10719
Syntax
Task<IEnumerable<IPrincipalAsync>> GetGroupMembershipAsync()

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