FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. adrian.wild
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    adrian.wild

    @adrian.wild

    0
    Reputation
    2
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    adrian.wild Unfollow Follow

    Latest posts made by adrian.wild

    • FusionAuth SDK searchuser method problem

      I found out the problem. I have over 8000 users in my DB. I wanted to take them all by

      $arrayOfParameters = array(
          'search' => array(
              'queryString' => '*',
              'numberOfResults' => 1000,
              'startRow' => 0, // Then 1000...2000...3000
              'accurateTotal' => true
          ),
      );
      $client->searchUsersByQuery($arrayOfParameters);
      

      And when i go with this logic of increasing the startRow value then i see:

      int(26)
      int(787)
      int(353)
      int(806)
      int(596)
      int(435)
      int(997)
      int(23)
      int(5023)
      

      This is call by call (in foreach) count result how many users i get (I always increase startRow by 1000). So why on the end i get different numbers of users? If once is possible to get 1000 why not always?

      Does anyone had this problem before?

      posted in General Discussion
      A
      adrian.wild