Template - addRegistryKeyPart_1
Template - addRegistryKeyPart
Description :
This command adds a registry key to an existing template with the ability to set ACL options. For the exact format of the registry key path, see the command createRegistryKeyTemplate . This command returns a handle to the updated template. Note that this handle is different from any previously returned handles. All other handles are invalid.
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
templateKey | DBKey | Handle to the existing template to which you want to add a registry key. |
assetPath | String | NSH-style path to the asset. |
bRecurse | Boolean | True to recurse into sub keys, false otherwise. |
bIncludeRegistryAcls | Boolean | True to collect registry ACLs, false otherwise. |
bAuditACLOwner | Boolean | True to compare ACL owner in an audit. |
bAuditDACL | Boolean | True to compare DACL in an audit. |
bAuditSACL | Boolean | True to compare SACL in an audit. |
Example
See the example for addFilePart .