CheckPermission
CheckPermission
Permission check of the four types of permission (webskin, object, type, general), i.e. will permit if any of the specified permissions are granted
Metadata
Attributes
| Name |
Type |
Required |
Default |
Options |
Description |
| permission |
string |
No |
|
|
|
| roles |
string |
No |
|
|
|
| typepermission |
string |
No |
|
|
|
| type |
string |
No |
|
|
|
| generalpermission |
string |
No |
|
|
|
| objectpermission |
string |
No |
|
|
|
| objectID |
string |
No |
|
|
|
| webskinpermission |
string |
No |
|
|
|
| require |
string |
No |
all |
|
|
| error |
string |
No |
false |
|
|
| errormessage |
string |
No |
You don't have permission to view this page |
|
|
| result |
string |
No |
|
|
Set to a variable name to output result. Defaults to nothing. |