code: public List<CmsProject> getAllAccessibleProjects(CmsObject cms, String ouFqn, boolean includeSubOus)
      throws CmsException {
  
          CmsOrganizationalUnit orgUnit = readOrganizationalUnit(cms, ouFqn);
          return (m_securityManager.getAllAccessibleProjects(cms.getRequestContext(), orgUnit, includeSubOus));
      }
docs: Returns all accessible projects of the given organizational unit.
  
  That is all projects which are owned by the current user or which are
  accessible for the group of the user.<p>
  
  @param cms the opencms context
  @param ouFqn the fully qualified name of the organizational unit to get projects for
  @param includeSubOus if all projects of sub-organizational units should be retrieved too
  
  @return all <code>{@link org.opencms.file.CmsProject}</code> objects in the organizational unit
  
  @throws CmsException if operation was not successful