runtime.User

Object Description

Encapsulates the properties and preferences of the user currently executing the script.

Supported Script Types

Client and server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/runtime Module

Methods and Properties

User Object Members

Since

2015.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();
...
// Add additional code 

        

Related Topics

General Notices