| SecurityPrincipalMemberOfGroup Method |
Checks if this principal is a member of the supplied group.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool MemberOfGroup(
Guid guid,
bool recursive
)
Public Function MemberOfGroup (
guid As Guid,
recursive As Boolean
) As Boolean
public:
bool MemberOfGroup(
Guid guid,
bool recursive
)
member MemberOfGroup :
guid : Guid *
recursive : bool -> bool
Parameters
- guid
- Type: SystemGuid
The GUID of the group to check. - recursive
- Type: SystemBoolean
Whether to do a recursive lookup of all parent groups that this principal might be a member of.
Return Value
Type:
BooleanTrue if the principal is a member, false otherwise.
See Also