Checks user permissions and application context to determine if the specified command is currently available.
| Name | Description |
|---|---|
| IsCommandPermitted(string) | Checks user permissions and application context to determine if the specified command is currently available. |
| IsCommandPermitted(string, object) | Checks user permissions and application context to determine if the specified command is currently available. |
Checking the return value of IsCommandPermitted can be used to avoid calling ExecuteCommand for commands that are not allowed.
See ExecuteCommand for a usage example.
