Table of Contents

Class EffectivePermissionsClient

Namespace
Auth0.ManagementApi.Users
Assembly
Auth0.ManagementApi.dll
public class EffectivePermissionsClient : IEffectivePermissionsClient
Inheritance
EffectivePermissionsClient
Implements
Inherited Members
Extension Methods

Properties

Sources

public ISourcesClient Sources { get; }

Property Value

ISourcesClient

Methods

ListAsync(string, ListUserEffectivePermissionsRequestParameters, RequestOptions?, CancellationToken)

Returns the list of effective permissions for a user, taking into account permissions granted directly to the user, as well as those inherited through roles and group memberships.

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

Parameters

id string
request ListUserEffectivePermissionsRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<UserEffectivePermissionResponseContent>>

Examples

await client.Users.EffectivePermissions.ListAsync(
    "id",
    new ListUserEffectivePermissionsRequestParameters
    {
        From = "from",
        Take = 1,
        ResourceServerIdentifier = "resource_server_identifier",
    }
);