Lucee Function Reference

isuserinrole()

Determines whether an authenticated user belongs to the
specified Role.

Example

isuserinrole(any role_name):boolean

Category

decision

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
role_name any  Yes Name of a security role