Constable Authorization Engine 2.0 BETA

DynamicRole.IsMember Method 

[This is preliminary documentation and subject to change.]

Doesn't chesk if the given principal is member of the role. Instead, returns the IsMemberResult property value.

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

Parameters

principal
The principal reference is not used for membership checks. Instead, the IsMemberResult property value is always returned.

Return Value

Returns the value of the IsMemberResult property.

Remarks

CAUTION If the IsMemberResult property value is true, the method returns also true even if you pass a null reference (Nothing in Visual Basic) as the principal argument.

See Also

DynamicRole Class | LaMarvin.Constable.Model Namespace