Click or drag to resize

IPrincipalGetGroupMembership 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: 4.5.3121.0
Syntax
IEnumerable<IPrincipal> GetGroupMembership()

Return Value

Type: IEnumerableIPrincipal
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 GetGroupMembership 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