Template - addLocalUserPart
Template - addLocalUserPart
Description :
This command adds a local user to an existing template. 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 local user. |
assetPath | String | Name of the local group. |
bUserLastLogonDate | Boolean | Audit option for user 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 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 path to user's profile. True to turn option on, false otherwise. |
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
See the example for addFilePart .