How to add user metadata on getUsersNewestFirst()?
# support-questions-legacy
s
How to add user metadata on getUsersNewestFirst()?
r
Hey. I don’t quite understand the question. Can you rephrase?
s
how to get all users with their metadata and roles?
r
We have functions for these in our docs. Please have a look
At the user metadata section
And roles section
s
I read those docs. I just want when I'm fetching all users it just gives ID and email. But I want metadata, roles and permissions also.
r
You have to do separate queries to get those
s
ok
2 Views