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 Details

    • 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

      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

      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

      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

      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