Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=runtime.User for more information.
N/runtime Module
runtime.User
Object Description:
Encapsulates the properties and preferences of the user currently executing the script.
For a complete list of this object’s methods and properties, see User Object Members.
Supported Script Types:
Client and server scripts
For more information, see SuiteScript 2.0 Script Types.
Module:
N/runtime Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=runtime.User
Example:
// Code Example 1
// Add additional code
//...
var userObj = runtime.getCurrentUser();
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4296528504.html