This SDK documentation is outdated. Please do not refer to it, and instead visit the User Guides section.

Skip to main content
Version: 6.0.X

getUsersNewestFirst(limit, nextPaginationToken)

Parameters#

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

Returns#

  • Promise<{users: User[]; nextPaginationToken?: string | undefined;}> Returns a list of users sorted by newest first.

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
Looking for older versions of the documentation?
Which UI do you use?
Custom UI
Pre built UI