Share via


RoleAssignmentOperationsExtensions.ListForScopeAsync Method

Definition

Gets role assignments of the scope.

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

Parameters

operations
IRoleAssignmentOperations

Reference to the Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations.

scope
String

Required. Scope.

parameters
ListAssignmentsFilterParameters

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

Returns

Role assignment list operation result.

Applies to