Skip to main content
Version: 2.0.0

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]");