Constable Authorization Engine 2.0 BETA

AuthorizationPolicy.CurrentState Property

[This is preliminary documentation and subject to change.]

Sets or returns the current state of the authorization policy.

[VisualBasic]
OverridablePublicPropertyCurrentStateAsState
[C#]
publicvirtualModel.StateCurrentState{get;set;}

Remarks

You can set the property to reference any State object that is contained in the States collection of this instance.

If you set the property to a null reference (Nothing in Visual Basic), by definition, all the authorization rules will be disabled (you cannot define an authorization rule that is not associated with a valid State).

Exceptions

Exception Type Condition
ConstableException You've attempted to set the property to a State object that is not contained in the States collection of this instance.

See Also

AuthorizationPolicy Class | LaMarvin.Constable Namespace