docs: protected void initUserObject() {
  
          Object o = null;
          try {
              if (CmsStringUtil.isEmpty(getParamAction()) || CmsDialog.DIALOG_INITIAL.equals(getParamAction())) {
                  // edit an existing user, get the user object from db
                  m_user = getCms().readUser(new CmsUUID(getParamUserid()));
                  m_pwdInfo = new CmsPasswordInfo();
                  CmsUserSettings settings = new CmsUserSettings(m_user);
                  m_language = settings.getLocale().toString();
                  m_site = CmsStringUtil.joinPaths(settings.getStartSite(), "/");
                  m_startProject = settings.getStartProject();
                  m_startFolder = settings.getStartFolder();
                  m_startView = settings.getStartView();
                  return;
              } else {
                  // this is not the initial call, get the user object from session
                  o = getDialogObject();
                  Map<?, ?> dialogObject = (Map<?, ?>)o;
                  m_user = (CmsUser)dialogObject.get(USER_OBJECT);
                  m_pwdInfo = (CmsPasswordInfo)dialogObject.get(PWD_OBJECT);
                  CmsUserSettings settings = new CmsUserSettings(m_user);
                  m_language = settings.getLocale().toString();
                  m_site = CmsStringUtil.joinPaths(settings.getStartSite(), "/");
                  m_startProject = settings.getStartProject();
                  m_startFolder = settings.getStartFolder();
                  m_startView = settings.getStartView();
                  return;
              }
          } catch (Exception e) {
              // noop
          }
          // create a new user object
          m_user = new CmsUser();
          m_pwdInfo = new CmsPasswordInfo();
          m_group = "";
          try {
              m_group = getCms().readGroup(getParamOufqn() + OpenCms.getDefaultUsers().getGroupUsers()).getName();
          } catch (CmsException e) {
              // ignore
          }
          m_language = CmsLocaleManager.getDefaultLocale().toString();
          m_site = CmsStringUtil.joinPaths(OpenCms.getSiteManager().getDefaultSite().getSiteRoot(), "/");
          m_startProject = OpenCms.getWorkplaceManager().getDefaultUserSettings().getStartProject();
          m_startFolder = OpenCms.getWorkplaceManager().getDefaultUserSettings().getStartFolder();
          m_startView = OpenCms.getWorkplaceManager().getDefaultUserSettings().getStartView();
      }