RoleAssignment.DefinitionStages.WithAssignee 接口
定义
The stage of role assignment definition allowing specifying the assignee information.
public interface WithAssignee
方法
forGroup(ActiveDirectoryGroup activeDirectoryGroup) |
Specifies the assignee of the role assignment to be a group.
|
forObjectId(String objectId) |
Specifies the assignee of the role assignment.
|
forServicePrincipal(ServicePrincipal servicePrincipal) |
Specifies the assignee of the role assignment to be a service principal.
|
forServicePrincipal(String servicePrincipalName) |
Specifies the assignee of the role assignment to be a service principal.
|
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.
|