Skip to main content
Version: 6.1.X

This function is deprecated. Please use supertokens.getUsersOldestFirst instead if you are using core version >= 3.5

getUsersOldestFirst(limit, nextPaginationToken)


  • limit (Optional)
    • type: number
  • nextPaginationToken (Optional)
    • type: string


  • Promise<{users: User[]; nextPaginationToken?: string | undefined;}>.

Additional Information:#

  • If the nextPaginationToken is undefined, then there are no more users to loop through.
  • If there are no users in your app, then nextPaginationToken will be undefined and users will be an empty array
What type of UI do you want to use?
Custom UI
Pre built UI