code: public void unsubscribeAllResourcesFor(CmsObject cms, CmsPrincipal principal) throws CmsException {
  
          if (!isEnabled()) {
              throw new CmsRuntimeException(Messages.get().container(Messages.ERR_SUBSCRIPTION_MANAGER_DISABLED_0));
          }
          m_securityManager.unsubscribeAllResourcesFor(cms.getRequestContext(), getPoolName(), principal);
      }
docs: Unsubscribes the user or group from all resources.<p>
  
  @param cms the current users context
  @param principal the principal that unsubscribes from all resources
  
  @throws CmsException if something goes wrong