/// <summary>
 /// Gets role assignments of the scope.
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations.
 /// </param>
 /// <param name='scope'>
 /// Required. Scope.
 /// </param>
 /// <param name='parameters'>
 /// Optional. List operation filters. If null will return all role
 /// assignments at, above or below the subscription.
 /// </param>
 /// <returns>
 /// Role assignment list operation result.
 /// </returns>
 public static Task <RoleAssignmentListResult> ListForScopeAsync(this IRoleAssignmentOperations operations, string scope, ListAssignmentsFilterParameters parameters)
 {
     return(operations.ListForScopeAsync(scope, parameters, CancellationToken.None));
 }