Back

How do I get user details from Appwrite database using userID?

  • 1
  • Web
DEX
30 Apr, 2024, 15:44

I am making a website where i need to get name of users by their userID "I know I can get current user details " but it won't solve the problem like if there is post by 5 users than in Author tag any one can see author name that's what i want to do but i am not sure how can i do it

anyone can help ??

TL;DR
Developers are trying to get user details from the Appwrite database using userID. They are looking for a solution to display user details in a website based on userID. The recommended approach is to create a new collection with user information as there is no direct way to get a list of users via the client SDK.
Kenny
30 Apr, 2024, 15:51

I think you'll need to create a new collection with user information for now. There is no way in the client sdk to get a list of users.

DEX
30 Apr, 2024, 15:55

thank you!

DEX
30 Apr, 2024, 15:55

umm.. so in backend is it possible by using API?

DEX
30 Apr, 2024, 15:59

ooh, thanks again for the help:appwritebow:

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