Template - createSecuritySettingsTemplate
Template - createSecuritySettingsTemplate
Description :
This command creates a template with a particular security setting as the asset. This command returns a handle to the newly created template. The handle can be used for other commands that need a reference to the new template.
Return type : DBKey
Command Input :
Variable Name  | Variable Type  | Description  | 
|---|---|---|
templateName  | String  | Template name.  | 
groupId  | Integer  | Handle to the group that should contain the template.  | 
bExplicit  | Boolean  | True to create an explicit template, false to create an implicit template. (An implicit template is one that does not appear in the GUI.)  | 
assetPath  | String  | Name of the security setting.  | 
bLocalSecuritySettings  | Boolean  | Audit option for local security settings. True to turn option on, false otherwise.  | 
bEffectiveSecuritySettings  | Boolean  | Audit option for effective security settings. True to turn option on, false otherwise.  | 
Example
The example for createRegistryKeyTemplate shows how to create a template for an asset similar to this one.