...
Pre-work or post-work scripts are executed in system context and this variable is not available.
Example
How to get active user id and name:
Code Block | ||
---|---|---|
| ||
var user = $ActiveUser;
var userId = user.Id;
var userName = user.Name; |
...
...
Pre-work or post-work scripts are executed in system context and this variable is not available.
How to get active user id and name:
Code Block | ||
---|---|---|
| ||
var user = $ActiveUser;
var userId = user.Id;
var userName = user.Name; |
...