code: protected CmsPair<String, List<Object>> createUserQuery(CmsUserSearchParameters searchParams, boolean countOnly) {
  
          CmsUserQueryBuilder queryBuilder = createUserQueryBuilder();
          return queryBuilder.createUserQuery(searchParams, countOnly);
      }
docs: Creates a query for searching users.<p>
  
  @param searchParams the user search criteria
  @param countOnly if true, the query will only count the total number of results instead of returning them
  
  @return a pair consisting of the query string and its parameters