[SOLVED] Get the information of a specific user from a function in appwrite
- 0
- Databases
- Functions
Hi, how can I get the information from the database of a specific user from a function in appwrite. since to obtain the information of a user his login is necessary. but I require it for the administrative part.
If the user is executing the function, there are two user function variables populated:
- User id
- JWT
The user id is the user id of the user so you can do some lookup
The JWT can be used to make requests on behalf of the user.
perfect it worked for me, thank you
[SOLVED] Get the information of a specific user from a function in appwrite
Recommended threads
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...