code: public void setUserSessionMode(String userSessionMode) {
  
          if ((userSessionMode == null) || (m_userSessionMode != null)) {
              throw new IllegalStateException("Can't set user session mode to " + userSessionMode);
          }
          m_userSessionMode = UserSessionMode.valueOf(userSessionMode);
      }
docs: Sets the user session mode.<p>
  
  @param userSessionMode the user session mode