
i want to get a specific users preferences from serverside maybe i missunderstood something

the docs dont show it

I think it's that?

but how do i know what user its from?

I think inside account.getPrefs() you can put the user object.

It should be in the docs 🤔

If by server-side you mean using a Server Side SDK with API Key?

yes, im eating rn ill check if its possible and let you guys know

nope it doesnt have anything that inputs userid

weird

On Client Side, account.getPrefs()
should be called after the user is successfully logged in which doesn't require passing any userID.

this is serverside though

However, on the Server Side SDKs you do -
const user = await users.get('[USER_ID]');
const prefs = user.getPrefs()

oh i see lemme check


[Solved] how to get user prefs from serverside
Recommended threads
- Function not creating documents
So Im having this issue where no error is thrown at all but my function isn't able to create documents inside my database. ```typescript import { Client, Databa...
- GitHub Education Pack not activating App...
Hello Appwrite Team! 👋 I'm a verified member of the **GitHub Student Developer Pack** (approved August 15, 2025; valid until August 15, 2027). I've successful...
- Error deploying on appwrite site
Hello. I'm learning to program in Flutter, and after creating my first app, I concluded that I would use AppWrite as the backend. So, I created a very simple a...
