RoleAssignment.DefinitionStages.WithAssignee.forUser Method

Definition

Overloads

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 abstract RoleAssignment.DefinitionStages.WithRole forUser(ActiveDirectoryUser user)

Parameters

user
ActiveDirectoryUser

the user object

Returns

the next stage in role assignment definition

forUser(String name)

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

public abstract RoleAssignment.DefinitionStages.WithRole forUser(String name)

Parameters

name
java.lang.String

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

Returns

the next stage in role assignment definition

Applies to