code: public void deleteOrganizationalUnit(CmsObject cms, String ouFqn) throws CmsException {
  
          CmsOrganizationalUnit orgUnit = readOrganizationalUnit(cms, ouFqn);
          m_securityManager.deleteOrganizationalUnit(cms.getRequestContext(), orgUnit);
      }
docs: Deletes an organizational unit.<p>
  
  Only organizational units that contain no sub units can be deleted.<p>
  
  The organizational unit can not be delete if it is used in the request context,
  or if the current user belongs to it.<p>
  
  All users and groups in the given organizational unit will be deleted.<p>
  
  @param cms the opencms context
  @param ouFqn the fully qualified name of the organizational unit to delete
  
  @throws CmsException if operation was not successful