[SOLVED] Get the information of a specific user from a function in appwrite
- 0
- Resolved
- 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
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...