Partager via


AuthorizationClient.RemoveRoleAssignment Method

Definition

Deletes a role assignments based on the used options.

public System.Collections.Generic.IEnumerable<Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleAssignment> RemoveRoleAssignment (Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions options, string subscriptionId);
member this.RemoveRoleAssignment : Microsoft.Azure.Commands.Resources.Models.Authorization.FilterRoleAssignmentsOptions * string -> seq<Microsoft.Azure.Commands.Resources.Models.Authorization.PSRoleAssignment>
Public Function RemoveRoleAssignment (options As FilterRoleAssignmentsOptions, subscriptionId As String) As IEnumerable(Of PSRoleAssignment)

Parameters

options
FilterRoleAssignmentsOptions

The role assignment filtering options

subscriptionId
String

Current subscription id

Returns

The deleted role assignments

Applies to