Modules
SuiteScript 2.0
{keyControl}.findKeys({restriction: {number},name: {string or object},description: {string or object}})
N/keyControl Module
keyControl.findKeys()
Method Description:
Returns a list of keys that are available to the user.
Returns:
Metadata about the keys
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.findKeys(options)
Example:
// Code Example 1
// Add additional code
//...
require(['N/keyControl'],function(keyControl){
var keys = keyControl.findKeys({
name:{value: 'test',
operator: keyControl.Operator.CONTAINS, ignoreCase:true}
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1557413246.html