code: private Set<CmsResource> getResourcesFromPrincipal(CmsObject cms, CmsUUID id) throws CmsException {
  
          return cms.getResourcesForPrincipal(id, null, false);
      }
docs: Get resources set for the given principal.<p>
  
  @param cms CmsObject
  @param id id of principal
  @return Set of CmsResource
  @throws CmsException if resources can not be read