Does the Auth0 Managment SDK for node allow for advanced search

Does the node SDK allow for searching like that which is available via the REST API? User Search Query Syntax

The node method I’m referring to is “getUsers”

http://auth0.github.io/node-auth0/module-management.ManagementClient.html#getUsers

I would like to search via app_metadata

Thanks!

Hi @ryantomaselli,

It specifies search engine, so I would assume yes, but the docs seems to be lacking any info about it. I’m going to dig in on this and I will see what I can find.

Thanks,
Dan

Thanks @dan.woda!

I hope you don’t mind my tacking on a related question…

If I’m calling the Auth0 Management API v2 end point to get a list of users, what is the best way to also return the roles for these users? Will I need to query the roles for each user returned in separate calls?

You have two options here:

Get the roles by user - Auth0 Management API v2

Get the users by role - Auth0 Management API v2

3 posts were split to a new topic: GraphQL and the Management API