Skip to content

script.getUserId

Returns the identifier of the calling user.

js
script.getUserId()

Parameters

None

Example

js
let userId = script.getUserId();