IWithRoleAssignmentBeta.WithoutRole(IRoleAssignment) Method

Definition

Removes a role from the service principal.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate WithoutRole (Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment roleAssignment);
abstract member WithoutRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
Public Function WithoutRole (roleAssignment As IRoleAssignment) As IUpdate

Parameters

roleAssignment
IRoleAssignment

The role assignment to remove.

Returns

IUpdate

Applies to