Constable Authorization Engine 2.0 BETA

AuthorizationPolicy.ResolveExecutableActionRules Method 

[This is preliminary documentation and subject to change.]

Resolves the available authorization rules and fills the output resolvedRules with ActionRule objects associated with executable actions.

[Visual Basic]
Overridable Protected Sub ResolveExecutableActionRules( _
   ByVal action As Action, _
   ByVal authorizedRules As ActionRuleCollection, _
   ByVal resolveMultipleTargetStates As Boolean, _
   ByVal resolvedRules As ActionRuleCollection _
)
[C#]
protected virtual void ResolveExecutableActionRules(
   Action action,
   ActionRuleCollection authorizedRules,
   bool resolveMultipleTargetStates,
   ActionRuleCollection resolvedRules
);

Parameters

action
The action whose executability is checked.
authorizedRules
The ActionRules that belong to the CurrentPrincipal in the CurrentState.
resolveMultipleTargetStates
true signifies that the implementation should not return multiple action rules with different TargetState property values.
resolvedRules
The rules that the implementation considers executable.

Remarks

If the resolveMultipleTargetStates argument is true, the implementation simply copies all the rules from the authorizedRules collection to the output resolvedRules collection.

See Also

AuthorizationPolicy Class | LaMarvin.Constable Namespace