
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
- Sites and SSL
Hi! I'm trying to configure Appsite sites, and I'm using Cloudflare for SSL. After I generate the SSL certificate (It generates fine it seems), I go and load t...
- Error Getting Github token on 1.7.4
I set up GitHub integration on Selfhost using version 1.7, and it was working correctly since then. After upgrading to version 1.7.4 with the same configuration...
- API Endpoint to Verify Password.
I have 2 use cases where i need to verify a users password outside of login, e.g. Updating user account data (such as name, or prefs, or data in a users databa...
