User.contact
Property Description |
The internal ID of the currently logged-in contact. If no logged-in entity or other entity than contact is logged in, then |
Type |
number (read-only) |
Module |
|
Since |
2019.1 |
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 contact: ' + userObj.contact);
...
// Add additional code