共用方式為


IRoleAssignments.GetByScope(String, String) Method

Definition

Gets the information about a role assignment based on scope and name.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment GetByScope (string scope, string name);
abstract member GetByScope : string * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleAssignment
Public Function GetByScope (scope As String, name As String) As IRoleAssignment

Parameters

scope
String

The scope of the role assignment.

name
String

The name of the role assignment.

Returns

Applies to