Table of Contents

Class MembersClient

Namespace
Auth0.ManagementApi.Organizations.Roles
Assembly
Auth0.ManagementApi.dll
public class MembersClient : IMembersClient
Inheritance
MembersClient
Implements
Inherited Members
Extension Methods

Methods

ListAsync(string, string, ListOrganizationRoleMembersRequestParameters, RequestOptions?, CancellationToken)

List the organization members assigned a specific role within the context of an organization.

public Task<Pager<RoleMember>> ListAsync(string id, string roleId, ListOrganizationRoleMembersRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

id string
roleId string
request ListOrganizationRoleMembersRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<RoleMember>>

Examples

await client.Organizations.Roles.Members.ListAsync(
    "id",
    "role_id",
    new ListOrganizationRoleMembersRequestParameters
    {
        From = "from",
        Take = 1,
        Fields = "fields",
        IncludeFields = true,
    }
);