Constable Authorization Engine 2.0 BETA

ComPlusRole.IsMember Method 

[This is preliminary documentation and subject to change.]

Doesn't check if the given principal is member of the role. Instead, calls the System.EnterpriseServices.ContextUtil.IsCallerInRole method passing it the ComPlusRoleName value and returns its return 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; not used for membership checks.

Return Value

Returns the value of the System.EnterpriseServices.ContextUtil.IsCallerInRole method call.

Remarks

See Also

ComPlusRole Class | LaMarvin.Constable.Model Namespace