isUserInAnyRole

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

isUserInAnyRole(roleList) → returns boolean

Argument Reference

roleList string
Required

No Help Available

Examples
Sample code invoking the isUserInAnyRole function


Fork me on GitHub