Hello Team, I'm using Appwrite cloud for my web app, my requirement is to show the number of registered users in my web app, however, I'm not able to find a way to do that using the Appwrite package. any help would be appreciated, thank you!
End users cannot fetch users because that would be a privacy concern. That data is available via a server SDK (with API key). So, I would suggest creating an Appwrite function that uses the server SDK to fetch that count
Thanks @Steven for quick response.
Do you need anything else regarding this or can this be closed as solved?
We can mark this as solved @Steven , thanks!
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...