public static interface RoleAssignment.DefinitionStages.WithAssignee
Modifier and Type | Method and Description |
---|---|
RoleAssignment.DefinitionStages.WithRole |
forGroup(ActiveDirectoryGroup activeDirectoryGroup)
Specifies the assignee of the role assignment to be a group.
|
RoleAssignment.DefinitionStages.WithRole |
forObjectId(String objectId)
Specifies the assignee of the role assignment.
|
RoleAssignment.DefinitionStages.WithRole |
forServicePrincipal(ServicePrincipal servicePrincipal)
Specifies the assignee of the role assignment to be a service principal.
|
RoleAssignment.DefinitionStages.WithRole |
forServicePrincipal(String servicePrincipalName)
Specifies the assignee of the role assignment to be a service principal.
|
RoleAssignment.DefinitionStages.WithRole |
forUser(ActiveDirectoryUser user)
Specifies the assignee of the role assignment to be a user.
|
RoleAssignment.DefinitionStages.WithRole |
forUser(String name)
Specifies the assignee of the role assignment to be a user.
|
RoleAssignment.DefinitionStages.WithRole forObjectId(String objectId)
objectId
- the object ID of an Active Directory identityRoleAssignment.DefinitionStages.WithRole forUser(ActiveDirectoryUser user)
user
- the user objectRoleAssignment.DefinitionStages.WithRole forUser(String name)
name
- the user's user principal name, full display name, or email addressRoleAssignment.DefinitionStages.WithRole forGroup(ActiveDirectoryGroup activeDirectoryGroup)
activeDirectoryGroup
- the user groupRoleAssignment.DefinitionStages.WithRole forServicePrincipal(ServicePrincipal servicePrincipal)
servicePrincipal
- the service principal objectRoleAssignment.DefinitionStages.WithRole forServicePrincipal(String servicePrincipalName)
servicePrincipalName
- the service principal nameCopyright © 2019. All rights reserved.