Class GroupsClient
- Namespace
- Auth0.ManagementApi.Organizations.Roles
- Assembly
- Auth0.ManagementApi.dll
public class GroupsClient : IGroupsClient
- Inheritance
-
GroupsClient
- Implements
- Inherited Members
- Extension Methods
Methods
ListAsync(string, string, ListOrganizationRoleGroupsRequestParameters, RequestOptions?, CancellationToken)
Retrieve the list of groups assigned to a role in the context of an organization.
public Task<Pager<RoleGroup>> ListAsync(string organizationId, string roleId, ListOrganizationRoleGroupsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
organizationIdstringroleIdstringrequestListOrganizationRoleGroupsRequestParametersoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Organizations.Roles.Groups.ListAsync(
"organization_id",
"role_id",
new ListOrganizationRoleGroupsRequestParameters { From = "from", Take = 1 }
);