Lucee Function Reference
Function ISUSERINANYROLE
Determines whether an authenticated user belongs to any role in a list of roles.
Example
isuserinanyrole([string role_list]):boolean
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
role_list | string | No | A comma-delimited list of one or more roles to be tested. |