Constable Authorization Engine 2.0 BETA

WindowsRole.IsMember Method 

[This is preliminary documentation and subject to change.]

Checks if the given principal is member of the WindowsGroupName windows security group.

[Visual Basic]
Overrides Public Function IsMember( _
   ByVal principal As IPrincipal _
) As Boolean
[C#]
public override bool IsMember(
   IPrincipal principal
);

Parameters

principal
The principal reference.

Return Value

Returns true is the principal is member of the associated windows group; false otherwise.

Remarks

If the principal is not an instance of the WindowsPrincipal class, the method returns false.

See Also

WindowsRole Class | LaMarvin.Constable.Model Namespace