你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RoleAssignmentImpl.IWithAssignee.ForUser 方法

定义

重载

IWithAssignee.ForUser(String)

将角色分配的受让人指定为用户。

IWithAssignee.ForUser(IActiveDirectoryUser)

将角色分配的受让人指定为用户。

IWithAssignee.ForUser(String)

将角色分配的受让人指定为用户。

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

参数

name
String

用户的用户主体名称、完整显示名称或电子邮件地址。

返回

实现

适用于

IWithAssignee.ForUser(IActiveDirectoryUser)

将角色分配的受让人指定为用户。

Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole IWithAssignee.ForUser (Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser user);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithAssignee.ForUser : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithAssignee.ForUser : Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignment.Definition.IWithRole
Function ForUser (user As IActiveDirectoryUser) As IWithRole Implements IWithAssignee.ForUser

参数

user
IActiveDirectoryUser

用户对象。

返回

实现

适用于