Constable Authorization Engine 2.0 BETA

AuthorizationPolicy.GetExecutableActionRules Method 

[This is preliminary documentation and subject to change.]

Returns all the ActionRule objects for actions that are executable in the current authorization context.

[Visual Basic]
Overridable Public Function GetExecutableActionRules() As ActionRuleCollection
[C#]
public virtual ActionRuleCollection GetExecutableActionRules();

Return Value

Collection of ActionRule objects associated with executable actions.

Remarks

An action is executable if calling the ExecuteAction method for the given action doesn't throw an exception.

If this method returns more than one ActionRule with different values of the TargetState property, the authorization policy is said to be non-deterministic.

See Also

AuthorizationPolicy Class | LaMarvin.Constable Namespace