Key.restrictions
Property Description |
An array of employee IDs. Only these employees can access the key. |
Module |
|
Methods and Properties |
|
Since |
2019.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/keyControl Module Script Samples.
// Add additional code
...
var key = keyControl.createKey();
key.restriction = 'testrestrictions'
...
// Add additional code