Skip to main content

permit.api.users.getAssignedRoles()

Get all the assigned roles for a specific user.

Parameters​

userKey - The ID of the user. This can also be the user key.

Implementation​

RoleAssignmentRead[] assignedRoles = permit.api.users.getAssignedRoles("[USER KEY]");