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,
// },
// ...
// }