Click or drag to resize
Galactic API

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
)

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: Boolean
True if the principal is a member, false otherwise.
See Also