Rank 2: Process
Hi there,
I know it is possible to list users as described in the docs here: https://appwrite.io/docs/server/users?sdk=python-default#usersList. Is it possible to Query the user prefs and if yes how would that query look like?
Votes
0
Replies
10
Participants
Unknown
Messages
11
Rank 2: Process
Hi there,
I know it is possible to list users as described in the docs here: https://appwrite.io/docs/server/users?sdk=python-default#usersList. Is it possible to Query the user prefs and if yes how would that query look like?
Rank 7: Quantum Computer
It's seems like you can work around the user preferences only after you get the user \ account instance
Which means - for what I can see - there isn't any option to query (or group) by user preferences
But,
What you can do is add users to teams ( and assigned roles for them) then you be able to group them by team or team and role
Rank 2: Process
Mhh, okay I think assigning them to teams would do the job 👍 Thanks again @Binyamin 😄
Rank 7: Quantum Computer
👍
Rank 2: Process
[SOLVED] List users with query on prefs
Rank 2: Process
Oh no, I just forgot that teams do not help me 😦 So I guess I have to create an extra table to store the data in to make it "searchable"...
Rank 7: Quantum Computer
Why is that?
Rank 2: Process
Because I specifically need to search for a set preference
Rank 2: Process
and it has a different value for every user
Rank 7: Quantum Computer
I understand
Rank 7: Quantum Computer
Then yes your way sounds the right one