getUsersOldestFirst(limit, nextPaginationToken)
Parameters
limit
(Optional)
nextPaginationToken
(Optional)
Returns
Promise<{users: User[]; nextPaginationToken?: string | undefined;}>
Returns a list of users sorted by oldest first.
Throws
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