RoleAssignmentOperationsExtensions.ListForResource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets role assignments of the resource.
public static Microsoft.Azure.Management.Authorization.Models.RoleAssignmentListResult ListForResource (this Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, Microsoft.Azure.Management.Authorization.ListAssignmentsFilterParameters parameters);
static member ListForResource : Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations * string * Microsoft.Azure.ResourceIdentity * Microsoft.Azure.Management.Authorization.ListAssignmentsFilterParameters -> Microsoft.Azure.Management.Authorization.Models.RoleAssignmentListResult
<Extension()>
Public Function ListForResource (operations As IRoleAssignmentOperations, resourceGroupName As String, identity As ResourceIdentity, parameters As ListAssignmentsFilterParameters) As RoleAssignmentListResult
Parameters
- operations
- IRoleAssignmentOperations
Reference to the Microsoft.Azure.Management.Authorization.IRoleAssignmentOperations.
- resourceGroupName
- String
Required. The name of the resource group.
- identity
- Microsoft.Azure.ResourceIdentity
Required. Resource identity.
- parameters
- ListAssignmentsFilterParameters
Optional. List operation filters. If null will return all role assignments at, above or below the resource.
Returns
Role assignment list operation result.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET