AssignRole
Assign a role to a specific user.
Parameters
userId
- The id of the user. This is the unique key of the user.
roleId
- The id of the role. This can also be the role key.
tenantId
- The id of the tenant. This can also be the tenant key.
Implementation
var response = await permitClient.Api.AssignRole(userId, roleId, tenantId);