docs: protected CmsUserSearchParameters getSearchParams() throws CmsException {
  
          CmsListState state = getListState();
          CmsUserSearchParameters params = new CmsUserSearchParameters();
          String searchFilter = state.getFilter();
          params.setSearchFilter(searchFilter);
          if (!hasOuDetail()) {
              params.setOrganizationalUnit(OpenCms.getOrgUnitManager().readOrganizationalUnit(getCms(), getParamOufqn()));
          }
          params.setPaging(getList().getMaxItemsPerPage(), state.getPage());
          params.setSorting(getSortKey(state.getColumn()), state.getOrder().equals(CmsListOrderEnum.ORDER_ASCENDING));
          CmsGroup group = getCms().readGroup(new CmsUUID(getParamGroupid()));
          params.setGroup(group);
          params.setFilterByGroupOu(false);
          return params;
      }