User.id
Property Description |
The internal ID of the current user. |
Type |
number (read-only) |
Module |
|
Since |
2019.2 |
Syntax
Important:
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/runtime Module Script Samples.
// Add additional code
...
var userObj = runtime.getCurrentUser();
log.debug('Internal ID of current user: ' + userObj.id);
...
// Add additional code