Is there any way (indirect) to list all the users of my project using the web sdk, I checked the docs and I found that we have to use NodeJS for listing the users.
Maybe the Account API can help you with that.
I didn't find this method in the docs, but there is a method users.list but it requires NodeJS
Hey @SreeSen As we discussed earlier on Twitter, we don't allow listing of users on the client SDKs due to security reasons
If you really want a workaround to that, you can use the Users API in an Appwrite Function and get back the entire list, but ideally that would still keep the security issues open.
My suggestion instead would be to use collections to keep track of chats and the user IDs of the participants in them
Yes, I am following what you said on Twitter, I will follow the collection approach.
Awesome! 😄 In that case, I'm marking this thread as closed for now In case you have further doubts, we can open it up accordingly
Yes sure
[CLOSED] Listing all the users of a project
Recommended threads
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...