code: String getStatus(CmsUser user, boolean disabled, boolean newUser) {
  
          if (disabled) {
              return CmsVaadinUtils.getMessageText(Messages.GUI_USERMANAGEMENT_USER_DISABLED_0);
          }
          if (newUser) {
              return CmsVaadinUtils.getMessageText(Messages.GUI_USERMANAGEMENT_USER_INACTIVE_0);
          }
          if (OpenCms.getLoginManager().isUserTempDisabled(user.getName())) {
              return CmsVaadinUtils.getMessageText(Messages.GUI_USERMANAGEMENT_UNLOCK_USER_STATUS_0);
          }
          if (isUserPasswordReset(user)) {
              return CmsVaadinUtils.getMessageText(Messages.GUI_USERMANAGEMENT_USER_PASSWORT_RESET_0);
          }
          return CmsVaadinUtils.getMessageText(Messages.GUI_USERMANAGEMENT_USER_ACTIVE_0);
      }
docs: Returns status message.
  
  @param user CmsUser
  @param disabled boolean
  @param newUser boolean
  @return String