Returns the id of the user running the process.
script.getUserId()
The user's id.
const userId = script.getUserId();