[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
- Worker functions stuck on "Fetched 0 fun...
Appwrite Version: 1.9.0 Bug Description: The appwrite-worker-functions container gets stuck in an infinite loop logging "Fetched 0 functions..." while scheduled...
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...
- I am using s3 for app storage but is it ...
_APP_STORAGE_DEVICE=s3 puts everything to the s3 storage but i need to be able to keep the function builds and site in the local and not waste the cloud storage...