Skip to content

script.getUserId ​

Returns the id of the user running the process.

js
script.getUserId()

Returns ​

string

The user's id.

Examples ​

js
const userId = script.getUserId();