#Functions
1 messages · Page 1 of 1 (latest)
To pass the user ID of the person who executed the function, you need the APPWRITE_FUNCTION_USER_ID variable
const userId = res.variables['APPWRITE_FUNCTION_USER_ID']
This variable will automatically contain the user's ID who executed the function.
thank you! is there a documentation for other variables like this aswell?