code: public void setContextInfo(CmsContextInfo contextInfo) {
  
          checkFrozen();
          if (contextInfo == null) {
              throw new CmsIllegalArgumentException(Messages.get().container(Messages.ERR_BAD_CONTEXT_INFO_0));
          }
          m_context = contextInfo;
      }
docs: Sets the context information for the user executing the job.<p>
  
  This will also "freeze" the context information that is set.<p>
  
  @param contextInfo the context information for the user executing the job
  
  @see CmsContextInfo#freeze()