Constable Authorization Engine 2.0 BETA

ExtendedPrincipal.IsInRole Method 

[This is preliminary documentation and subject to change.]

Determines whether the principal is in the given role.

[Visual Basic]
NotOverridable Public Function IsInRole( _
   ByVal role As String _
) As Boolean _
    Implements IPrincipal.IsInRole
[C#]
public bool IsInRole(
   string role
);

Parameters

role
The Id of the role whose membership is to be determined.

Return Value

true is the ExtendedPrincipal is member of the role; false otherwise.

Implements

IPrincipal.IsInRole

See Also

ExtendedPrincipal Class | LaMarvin.Constable.Principal Namespace