code: public void removeResourceFromOrgUnit(CmsObject cms, String ouFqn, String resourceName) throws CmsException {
  
          CmsOrganizationalUnit orgUnit = readOrganizationalUnit(cms, ouFqn);
          CmsResource resource = cms.readResource(resourceName, CmsResourceFilter.ALL);
  
          m_securityManager.removeResourceFromOrgUnit(cms.getRequestContext(), orgUnit, resource);
      }
docs: Removes a resource from the given organizational unit.<p>
  
  @param cms the opencms context
  @param ouFqn the fully qualified name of the organizational unit to remove the resource from
  @param resourceName the name of the resource that is to be removed from the organizational unit
  
  @throws CmsException if something goes wrong