Rank 4: Virtual Machine
How do I fetch lists of users to backend to my Admin dashboard. What function or class does that
Votes
0
Replies
10
Participants
Unknown
Messages
11
Rank 4: Virtual Machine
How do I fetch lists of users to backend to my Admin dashboard. What function or class does that
Rank 4: Virtual Machine
Fetch users details from backend
Admin
You would use the users API: https://appwrite.io/docs/server/users
If you're exposing this in an app you're making, I would suggest creating a function where your admins have access to execute the function and then the function will call the users API. This way, you won't expose the API key
Rank 4: Virtual Machine
It seems I got you right
Rank 4: Virtual Machine
Must I create a execute function?
I'm yet to be able to execute cloud functions, the one I wanted deploying
Admin
Sorry I don't understand
Rank 4: Virtual Machine
How do I get every user that created an account.
I want to use that to populate admin UI with lost of users
Admin
Yes, it's best to expose this using a function
Rank 4: Virtual Machine
what function does that?
Admin
Rank 4: Virtual Machine
Ok