Interface ActiveDirectoryGroup.UpdateStages.WithMember
-
- All Known Subinterfaces:
ActiveDirectoryGroup.Update
- Enclosing interface:
- ActiveDirectoryGroup.UpdateStages
public static interface ActiveDirectoryGroup.UpdateStages.WithMemberAn AD Group definition allowing members to be added or removed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActiveDirectoryGroup.UpdatewithMember(ActiveDirectoryGroup group)Adds a group as a member in the group.ActiveDirectoryGroup.UpdatewithMember(ActiveDirectoryUser user)Adds a user as a member in the group.ActiveDirectoryGroup.UpdatewithMember(ServicePrincipal servicePrincipal)Adds a service principal as a member in the group.ActiveDirectoryGroup.UpdatewithMember(String objectId)Adds a member based on its object id.ActiveDirectoryGroup.UpdatewithoutMember(ActiveDirectoryGroup group)Removes a group as a member in the group.ActiveDirectoryGroup.UpdatewithoutMember(ActiveDirectoryUser user)Removes a user as a member in the group.ActiveDirectoryGroup.UpdatewithoutMember(ServicePrincipal servicePrincipal)Removes a service principal as a member in the group.ActiveDirectoryGroup.UpdatewithoutMember(String objectId)Removes a member based on its object id.
-
-
-
Method Detail
-
withMember
ActiveDirectoryGroup.Update withMember(String objectId)
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
ActiveDirectoryGroup.Update withMember(ActiveDirectoryUser user)
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
ActiveDirectoryGroup.Update withMember(ActiveDirectoryGroup group)
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
ActiveDirectoryGroup.Update withMember(ServicePrincipal servicePrincipal)
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
ActiveDirectoryGroup.Update withoutMember(String objectId)
Removes a member based on its object id.- Parameters:
objectId- the Active Directory object's id- Returns:
- the next AD Group update stage
-
withoutMember
ActiveDirectoryGroup.Update withoutMember(ActiveDirectoryUser user)
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
ActiveDirectoryGroup.Update withoutMember(ActiveDirectoryGroup group)
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
ActiveDirectoryGroup.Update withoutMember(ServicePrincipal servicePrincipal)
Removes a service principal as a member in the group.- Parameters:
servicePrincipal- the service principal to remove- Returns:
- the next AD group update stage
-
-