IWithRoleAssignmentBeta.WithNewRoleInSubscription(BuiltInRole, String) Method

Definition

Assigns a new role to the service principal.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate WithNewRoleInSubscription (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string subscriptionId);

Parameters

role
BuiltInRole

The role to assign to the service principal.

subscriptionId
String

The subscription the service principal can access.

Returns

Applies to

Prodotto Versioni
Azure SDK for .NET Legacy