isUserInAnyRole

Determines whether an authenticated user belongs to any role in a list of roles.

isUserInAnyRole(value) → returns boolean

Argument Reference

value string
Required

A comma-delimited list of one or more roles to be tested

Examples
Sample code invoking the isUserInAnyRole function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub