How do I fetch lists of users to backend to my Admin dashboard. What function or class does that
Fetch users details from backend
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
It seems I got you right
Must I create a execute function?
I'm yet to be able to execute cloud functions, the one I wanted deploying
Sorry I don't understand
How do I get every user that created an account.
I want to use that to populate admin UI with lost of users
Yes, it's best to expose this using a function
what function does that?
Ok
Recommended threads
- Trying to Figure out how to delete a use...
If i have a button in an app that allows a user to delete their account, can I not just call a function from my swift app to Appwrite to have the account delete...
- Expected a value of type 'bool', but got...
I am trying to get current User, but get this error message when I do. I get back user prefs, but error comes from trying account.get() So I am getting User. I ...
- Problem accessing api via local host.
I think i set the Endpoint correctly in my config.ts als the cloud.appwrite url but when i try to create a user I get this Error message: Access to XMLHttpReque...