isUserInAnyRoles()
Last updated
Was this helpful?
Last updated
Was this helpful?
This function is designed to check whether a user is assigned to any of the specified roles within a system. It provides a way to verify whether a user possesses at least one of the roles provided in the roles array.
Here is an Example: