Lists the roles which grant the user a given permission, including roles assigned directly to the user and those inherited through group memberships.
ID of the user to retrieve the permissions for.
Optional
Request-specific configuration.
Management.BadRequestError
Management.UnauthorizedError
Management.ForbiddenError
Management.NotFoundError
Management.TooManyRequestsError
await client.users.effectivePermissions.sources.roles.list("id", { from: "from", take: 1, resource_server_identifier: "resource_server_identifier", permission_name: "permission_name" }) Copy
await client.users.effectivePermissions.sources.roles.list("id", { from: "from", take: 1, resource_server_identifier: "resource_server_identifier", permission_name: "permission_name" })
Protected
Readonly
Lists the roles which grant the user a given permission, including roles assigned directly to the user and those inherited through group memberships.