Auth0.net: how to get many users by many ids

hello, I wonder if is there a function in the auth0.net package that helps me to get a list of users by their ids.

btw: this web doc: Documentation (auth0.github.io) is really hard to read, I wonder if is there another one

Thank you so much

Hi @traitimtrongvang,

Take a look at the UsersClient GetAllAsync method:

https://auth0.github.io/auth0.net/api/Auth0.ManagementApi.Clients.IUsersClient.html#Auth0_ManagementApi_Clients_IUsersClient_GetAllAsync_Auth0_ManagementApi_Models_GetUsersRequest_Auth0_ManagementApi_Paging_PaginationInfo_System_Threading_CancellationToken_

If this endpoint doesn’t have exactly what you need, you may want to look into doing a user export:

https://auth0.github.io/auth0.net/api/Auth0.ManagementApi.Clients.IJobsClient.html#Auth0_ManagementApi_Clients_IJobsClient_ExportUsersAsync_Auth0_ManagementApi_Models_UsersExportsJobRequest_System_Threading_CancellationToken_

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.