code: def searchuser(self, searchstring=None):
          
          self._check_auth(must_admin=False)
          is_admin = self._check_admin()
          if searchstring is not None and len(searchstring) > 2:
              res = self._search(searchstring)
          else:
              res = None
          attrs_list = self.attributes.get_search_attributes()
          return self.temp['searchuser.tmpl'].render(
              searchresult=res,
              attrs_list=attrs_list,
              is_admin=is_admin,
              custom_js=self.custom_js,
              notifications=self._empty_notification(),
              )
docs: search user page