
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
- Direct Upgrade from Appwrite v1.5.11 to ...
I'm on Appwrite v1.5.11. Can I upgrade directly to v1.6.2?
- PKCE, Etsy, OIDC, External OAuth provide...
first, thanks for creating and maintaining this software. I'm almost glad i couldn't convince my (wise and wonderful) senior devs to try pocketbase on productio...
- Still an issue? On user deletion, target...
This has been mentioned here: https://discord.com/channels/564160730845151244/1295830646039515146 and as a Github issue here: https://github.com/appwrite/appwri...
