Share via


IWithScope.WithScope(String) Method

Definition

Specifies the scope of the role assignment. The scope is usually the ID of a subscription, a resource group, a resource, etc.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate WithScope (string scope);
abstract member WithScope : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithCreate
Public Function WithScope (scope As String) As IWithCreate

Parameters

scope
String

The scope of the assignment.

Returns

Applies to