Skip to content
Back

how to fetch list of all users account? im using self hosted

  • 0
  • Self Hosted
  • Auth
  • Web
Itchan
3 Dec, 2024, 06:05
TL;DR
Developers asking how to fetch a list of all user accounts in a self-hosted platform can simply use `await users.list();` If querying/searching is required, replace `<SEARCH>` with an actual search string. More details on usage can be found at: https://appwrite.io/docs/references/cloud/server-nodejs/users#list.
Lacked
3 Dec, 2024, 06:53

Just use

await users.list();

Unless you need to query/search them. The problem is <SEARCH> should instead be an actual search string

https://appwrite.io/docs/references/cloud/server-nodejs/users#list

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more