Share via


IRoleAssignmentOperations.ListForScopeAsync Method

Definition

Gets role assignments of the scope.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentListResult> ListForScopeAsync (string scope, Microsoft.Azure.Management.Authorization.ListAssignmentsFilterParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member ListForScopeAsync : string * Microsoft.Azure.Management.Authorization.ListAssignmentsFilterParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentListResult>
Public Function ListForScopeAsync (scope As String, parameters As ListAssignmentsFilterParameters, cancellationToken As CancellationToken) As Task(Of RoleAssignmentListResult)

Parameters

scope
String

Scope.

parameters
ListAssignmentsFilterParameters

List operation filters. If null will return all role assignments at, above or below the subscription.

cancellationToken
CancellationToken

Cancellation token.

Returns

Role assignment list operation result.

Applies to