Constable Authorization Engine 2.0 BETA

AuthorizationPolicy.IsActionExecutable Method (Action)

[This is preliminary documentation and subject to change.]

Returns a value specifying if the specified action is executable in the current authorization context.

[Visual Basic]
Overloads Public Function IsActionExecutable( _
   ByVal action As Action _
) As Boolean
[C#]
public bool IsActionExecutable(
   Action action
);

Parameters

action
The action whose executability is queried.

Return Value

true if the action is executable; false otherwise.

Remarks

When this method returns true, you can be sure that when you call ExecuteAction in the same authorization context and with the same argument, the call will not throw an exception (barring catastrophic failure).

See Also

AuthorizationPolicy Class | LaMarvin.Constable Namespace | AuthorizationPolicy.IsActionExecutable Overload List