Interface RoleAssignment.DefinitionStages.WithAssignee
-
- All Known Subinterfaces:
RoleAssignment.Definition,RoleAssignment.DefinitionStages.Blank
- Enclosing interface:
- RoleAssignment.DefinitionStages
public static interface RoleAssignment.DefinitionStages.WithAssigneeThe stage of role assignment definition allowing specifying the assignee information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RoleAssignment.DefinitionStages.WithRoleforGroup(ActiveDirectoryGroup activeDirectoryGroup)Specifies the assignee of the role assignment to be a group.RoleAssignment.DefinitionStages.WithRoleforObjectId(String objectId)Specifies the assignee of the role assignment.RoleAssignment.DefinitionStages.WithRoleforServicePrincipal(ServicePrincipal servicePrincipal)Specifies the assignee of the role assignment to be a service principal.RoleAssignment.DefinitionStages.WithRoleforServicePrincipal(String servicePrincipalName)Specifies the assignee of the role assignment to be a service principal.RoleAssignment.DefinitionStages.WithRoleforUser(ActiveDirectoryUser user)Specifies the assignee of the role assignment to be a user.RoleAssignment.DefinitionStages.WithRoleforUser(String name)Specifies the assignee of the role assignment to be a user.
-
-
-
Method Detail
-
forObjectId
RoleAssignment.DefinitionStages.WithRole forObjectId(String objectId)
Specifies the assignee of the role assignment.- Parameters:
objectId- the object ID of an Active Directory identity- Returns:
- the next stage in role assignment definition
-
forUser
RoleAssignment.DefinitionStages.WithRole forUser(ActiveDirectoryUser user)
Specifies the assignee of the role assignment to be a user.- Parameters:
user- the user object- Returns:
- the next stage in role assignment definition
-
forUser
RoleAssignment.DefinitionStages.WithRole forUser(String name)
Specifies the assignee of the role assignment to be a user.- Parameters:
name- the user's user principal name, full display name, or email address- Returns:
- the next stage in role assignment definition
-
forGroup
RoleAssignment.DefinitionStages.WithRole forGroup(ActiveDirectoryGroup activeDirectoryGroup)
Specifies the assignee of the role assignment to be a group.- Parameters:
activeDirectoryGroup- the user group- Returns:
- the next stage in role assignment definition
-
forServicePrincipal
RoleAssignment.DefinitionStages.WithRole forServicePrincipal(ServicePrincipal servicePrincipal)
Specifies the assignee of the role assignment to be a service principal.- Parameters:
servicePrincipal- the service principal object- Returns:
- the next stage in role assignment definition
-
forServicePrincipal
RoleAssignment.DefinitionStages.WithRole forServicePrincipal(String servicePrincipalName)
Specifies the assignee of the role assignment to be a service principal.- Parameters:
servicePrincipalName- the service principal name- Returns:
- the next stage in role assignment definition
-
-