RoleAssignment.DefinitionStages.WithAssignee.forUser 方法

定义

重载

forUser(ActiveDirectoryUser user)

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

forUser(String name)

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

forUser(ActiveDirectoryUser user)

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

public WithRole forUser(ActiveDirectoryUser user)

参数

user
ActiveDirectoryUser

the user object

返回

the next stage in role assignment definition

forUser(String name)

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

public WithRole forUser(String name)

参数

name
String

the user's user principal name, full display name, or email address

返回

the next stage in role assignment definition

适用于