code: public void initialize(CmsObject cms) throws CmsException {
  
          List<CmsOrganizationalUnit> ous = getOrganizationalUnits(cms, "", true);
          for (CmsOrganizationalUnit ou : ous) {
              try {
                  m_securityManager.initializeOrgUnit(cms.getRequestContext(), ou);
              } catch (CmsInitException e) {
                  LOG.error("Error while initializing OU " + ou.getName() + ": " + e.getLocalizedMessage(), e);
              }
          }
      }
docs: Initializes the organizational units.<p>
  
  @param cms the admin CMS context
  
  @throws CmsException if something goes wrong