IWithRole.WithRoleDefinition(String) Method

Definition

Specifies the ID of the custom role for this assignment.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope WithRoleDefinition (string roleDefinitionId);
abstract member WithRoleDefinition : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithScope
Public Function WithRoleDefinition (roleDefinitionId As String) As IWithScope

Parameters

roleDefinitionId
String

ID of the custom role definition.

Returns

Applies to