zombikaaOriginal post
Rank 3: Container
hi, if i have a function, and i need to pass the users id who executed it, how can i do that?
Summary
Developers can access the user ID of the person who executed a function using the `APPWRITE_FUNCTION_USER_ID` variable. This can be retrieved using the code `const userId = res.variables['APPWRITE_FUNCTION_USER_ID']`.