다음을 통해 공유


IWithAssignee.ForUser Method

Definition

Overloads

ForUser(IActiveDirectoryUser)

Specifies the assignee of the role assignment to be a user.

ForUser(String)

Specifies the assignee of the role assignment to be a user.

ForUser(IActiveDirectoryUser)

Specifies the assignee of the role assignment to be a user.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole ForUser (Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser user);
abstract member ForUser : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole
Public Function ForUser (user As IActiveDirectoryUser) As IWithRole

Parameters

user
IActiveDirectoryUser

The user object.

Returns

Applies to

ForUser(String)

Specifies the assignee of the role assignment to be a user.

public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole ForUser (string name);
abstract member ForUser : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole
Public Function ForUser (name As String) As IWithRole

Parameters

name
String

The user's user principal name, full display name, or email address.

Returns

Applies to