Usage
$onlyForRoles[;]Arguments
| Name | Type | Required | Description |
|---|---|---|---|
code | String | Yes | The code to execute if user does not meet the roles |
...roles | Role | Yes | The roles to check for |
$onlyForRoles[;]| Name | Type | Required | Description |
|---|---|---|---|
code | String | Yes | The code to execute if user does not meet the roles |
...roles | Role | Yes | The roles to check for |
Was this page helpful?