GetAssignedRoles
Get all the assigned roles for a specific user.
Parameters
ctx
- The context of the request.
userKey
- The key of the user to assign the role to.
tenantKey
- The key of the user's tenant.
page
- The page number to return.
perPage
- The number of results to return per page.
Implementation
rolesAssignments, err := Permit.Api.Users.GetAssignedRoles(ctx, "role-key", "default",1,10)