Interface ActiveDirectoryGroup.UpdateStages.WithMember
- All Known Subinterfaces:
ActiveDirectoryGroup.Update
- Enclosing interface:
- ActiveDirectoryGroup.UpdateStages
public static interface ActiveDirectoryGroup.UpdateStages.WithMember
An AD Group definition allowing members to be added or removed.
-
Method Summary
Modifier and TypeMethodDescriptionwithMember(ActiveDirectoryGroup group) Adds a group as a member in the group.Adds a user as a member in the group.withMember(ServicePrincipal servicePrincipal) Adds a service principal as a member in the group.withMember(String objectId) Adds a member based on its object id.Removes a group as a member in the group.Removes a user as a member in the group.withoutMember(ServicePrincipal servicePrincipal) Removes a service principal as a member in the group.withoutMember(String objectId) Removes a member based on its object id.
-
Method Details
-
withMember
Adds a member based on its object id. The member can be a user, a group, a service principal, or an application.- Parameters:
objectId- the Active Directory object's id- Returns:
- the next AD Group update stage
-
withMember
Adds a user as a member in the group.- Parameters:
user- the Active Directory user to add- Returns:
- the next AD group update stage
-
withMember
Adds a group as a member in the group.- Parameters:
group- the Active Directory group to add- Returns:
- the next AD group update stage
-
withMember
Adds a service principal as a member in the group.- Parameters:
servicePrincipal- the service principal to add- Returns:
- the next AD group update stage
-
withoutMember
Removes a member based on its object id.- Parameters:
objectId- the Active Directory object's id- Returns:
- the next AD Group update stage
-
withoutMember
Removes a user as a member in the group.- Parameters:
user- the Active Directory user to remove- Returns:
- the next AD group update stage
-
withoutMember
Removes a group as a member in the group.- Parameters:
group- the Active Directory group to remove- Returns:
- the next AD group update stage
-
withoutMember
Removes a service principal as a member in the group.- Parameters:
servicePrincipal- the service principal to remove- Returns:
- the next AD group update stage
-