Constable Authorization Engine 2.0 BETA

DynamicRole Class

[This is preliminary documentation and subject to change.]

Provides a role implementation whose membership can be controlled programmatically by setting the IsMemberResult property.

For a list of all members of this type, see DynamicRole Members.

System.Object
   LaMarvin.Constable.Model.ObjectBase
      LaMarvin.Constable.Model.NamedObjectBase
         LaMarvin.Constable.Model.Role
            LaMarvin.Constable.Model.DynamicRole

[Visual Basic]
<Serializable>
Public Class DynamicRole
    Inherits Role
[C#]
[Serializable]
public class DynamicRole : Role

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

CAUTION The role is principal-agnostic in the sense that regardless of the principal passed to the IsMember method, the method always returns the IsMemberResult value. If the value is true, the DynamicRole instance behaves like 'everyone' role; any principal (even a null reference (Nothing in Visual Basic)) is member of the role.

Requirements

Namespace: LaMarvin.Constable.Model

Assembly: LaMarvin.Constable (in LaMarvin.Constable.dll)

See Also

DynamicRole Members | LaMarvin.Constable.Model Namespace