code: public void writeOrganizationalUnit(CmsObject cms, CmsOrganizationalUnit organizationalUnit) throws CmsException {
  
          m_securityManager.writeOrganizationalUnit(cms.getRequestContext(), organizationalUnit);
      }
docs: Writes an already existing organizational unit.<p>
  
  The organizational unit has to be a valid OpenCms organizational unit.<br>
  
  The organizational unit will be completely overridden by the given data.<p>
  
  @param cms the opencms context
  @param organizationalUnit the organizational unit that should be written
  
  @throws CmsException if operation was not successful