共用方式為


ServicePrincipalImpl.WithNewRole(BuiltInRole, String) Method

Definition

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipalImpl WithNewRole (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string scope);
member this.WithNewRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipalImpl
Public Function WithNewRole (role As BuiltInRole, scope As String) As ServicePrincipalImpl

Parameters

scope
String

Returns

Applies to