code: @Override
      public SearchResult getGroups(String pattern, int limit) throws RegistryException {
          SearchResult ret = new SearchResult();
          for (UserRegistry registry : delegates) {
              SearchResult result = registry.getGroups(pattern, limit);
              ret = mergeSearchResults(ret, result);
          }
          return ret;
      }
docs: {@inheritDoc}