Back to Node Auth0

Class GroupsClient

docs/classes/management.SDK.GroupsClient-2.html

5.11.02.9 KB
Original Source

Class GroupsClient

Index

Constructors

constructor

Methods

list

Properties

_options

Constructors

constructor

new GroupsClient(options: BaseClientOptions): GroupsClient

Parameters

Returns GroupsClient

Methods

list

list(
id: string,
user_id: string,
request: ListOrganizationMemberRoleSourceGroupsRequestParameters,
requestOptions?: GroupsClient.RequestOptions,
): Promise<
Page<Group, ListOrganizationMemberRoleSourceGroupsResponseContent>,
>

Lists the groups which grant the org member a given role.

Parameters

  • id: string

Organization identifier.

  • user_id: string

ID of the user to list role source groups for.

Request-specific configuration.

Returns Promise<Page<Group, ListOrganizationMemberRoleSourceGroupsResponseContent>>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.TooManyRequestsError

Example

await client.organizations.members.effectiveRoles.sources.groups.list("id", "user_id", { from: "from", take: 1, role_id: "role_id" })Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Methods list Properties _options