Table of Contents

Class GroupsClient

Namespace
Auth0.ManagementApi.Organizations
Assembly
Auth0.ManagementApi.dll
public class GroupsClient : IGroupsClient
Inheritance
GroupsClient
Implements
Inherited Members
Extension Methods

Properties

Roles

public IRolesClient Roles { get; }

Property Value

IRolesClient

Methods

ListAsync(string, ListOrganizationGroupsRequestParameters, RequestOptions?, CancellationToken)

Lists the groups that are assigned to the specified organization.

public Task<Pager<Group>> ListAsync(string organizationId, ListOrganizationGroupsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

organizationId string
request ListOrganizationGroupsRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<Group>>

Examples

await client.Organizations.Groups.ListAsync(
    "organization_id",
    new ListOrganizationGroupsRequestParameters { From = "from", Take = 1 }
);