Certificate.subsidiaries
Property Description |
The internal IDs of the subsidiaries associated with the certificate record. Subsidiary selections associate a certificate to one or more subsidiaries but do not affect access. |
Type |
number[] |
Module |
|
Parent Object |
|
Sibling Object Members |
|
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/certificateControl Module Script Samples.
// Add additional code
...
//load the certificate record object
var loadedCertificate = cc.loadCertificate({
scriptId : 'custcertificate_testid'
});
//set the subsidiaries to those with the internal IDs of 3 and 5
loadedCertificate.subsidiaries = [3,5];
//save the certificate record object
loadedCertificate.save();
...
// Add additional code