docs/classes/management.SDK.RolesClient-4.html
new RolesClient(options: BaseClientOptions): RolesClient
list(
id: string,
request: ListUserEffectivePermissionRoleSourceRequestParameters,
requestOptions?: RolesClient.RequestOptions,
): Promise<
Page<
UserEffectivePermissionRoleSourceResponseContent,
ListUserEffectivePermissionRoleSourcesResponseContent,
>,
>
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.
OptionalrequestOptions: RolesClient.RequestOptionsRequest-specific configuration.
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
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods list Properties _options