Interface UserManager


public interface UserManager
The UserManager allows to handle user management related features.
  • Method Details

    • isUserActivated

      boolean isUserActivated(@NonNull OrchestrationUser orchestrationUser)
      Check whether the provided user identifier corresponds to an activated user.
      Parameters:
      orchestrationUser - the user to check
      Returns:
      true if the user is activated
    • getUserInformation

      @Nullable UserInformation getUserInformation(@NonNull OrchestrationUser orchestrationUser)
      Retrieves the information related to a specific user.
      Parameters:
      orchestrationUser - the user
      Returns:
      a UserInformation object or null if user is not activated
    • deleteUser

      void deleteUser(@NonNull OrchestrationUser orchestrationUser)
      Deactivates a specified user.
      Parameters:
      orchestrationUser - the user to deactivate
    • getUsers

      List<OrchestrationUser> getUsers()
      Retrieves the list of activated users.
      Returns:
      a list of OrchestrationUser