Skip to main content
Version: 1.0.0

getAssignedRolesInAllTenants

To get the available roles, you can use the following function:

RoleAssignmentList roles = permit.Api.getAssignedRolesInAllTenants();
// returns your org roles with list of RoleAssignmentList type
// [{
// id: string,
// name: string,
// description: string,
// tenantId: string,
// },
// ...
// }