Modules
SuiteScript 2.0
{keyControl}.loadKey({scriptId: {string*}})
N/keyControl Module
keyControl.loadKey()
Method Description:
Loads a key.
Returns:
Object
Supported Script Types:
Server-side scripts
For additional information, see SuiteScript 2.0 Script Types.
Governance:
10 units
Module:
N/keyControl Module
Since:
2019.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=keyControl.loadKey(options)
Example:
// Code Example 1
// Add additional code
//...
var key = keyControl.loadKey({
scriptId: '_testKey'
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1557417962.html