docs: @Override
      public SearchResult getUsers(String pattern, int limit) throws RegistryException {
          try {
              Result result = customUserRegistry.getUsers(pattern, limit);
              return new SearchResult(result.getList(), result.hasMore());
          } catch (Exception e) {
              throw new RegistryException(e.getMessage(), e);
          }
      }