Template - createLocalUserTemplate

Template - createLocalUserTemplate

Description :

This command creates a template with a particular local user 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 local group.

bUserLastLogonDate

Boolean

Audit option for user's last logon date. True to turn option on, false otherwise.

bUserMemberOf

Boolean

Audit option for user's membership. True to turn option on, false otherwise.

bUserAccountStatus

Boolean

Audit option for user's account status. True to turn option on, false otherwise.

bUserLastPasswordChangeDate

Boolean

Audit option for user's last password change. True to turn option on, false otherwise.

bUserExpireDate

Boolean

Audit option for user's password expiration date. True to turn option on, false otherwise.

bUserFullName

Boolean

Audit option for user's full name. True to turn option on, false otherwise.

bUserDescription

Boolean

Audit option for user's description. True to turn option on, false otherwise.

bUserHomePath

Boolean

Audit option for user's home path. True to turn option on, false otherwise.

bUserHomeDirDrive

Boolean

Audit option for user's home directory drive. True to turn option on, false otherwise.

bUserProfilePath

Boolean

Audit option for user's profile path; true to turn option on, else false.

bUserLoginScript

Boolean

Audit option for user's login script. True to turn option on, false otherwise.

bUserPrivilegeLevel

Boolean

Audit option for user's privilege level. True to turn option on, false otherwise.

bUserControlFlags

Boolean

Audit option for user's control flags. True to turn option on, false otherwise.

bUserLogonServer

Boolean

Audit option for user's logon server. True to turn option on, false otherwise.

bUserWorkstations

Boolean

Audit option for user's workstations. True to turn option on, false otherwise.

bUserCountryCode

Boolean

Audit option for user's country code. True to turn option on, false otherwise.

bUserCodePage

Boolean

Audit option for user's code page. 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.

Was this page helpful? Yes No Submitting... Thank you

Comments