Rename Local User Account
This Automation Manager object renames a local user account.
Privileges
Elevated – Run as administrator
Input Parameters
Name | Type | Required | Description |
---|---|---|---|
User Name | String | Yes | The name of the local account to receive the new name. |
New User Name | String | Yes | Name of the user. |
New Full Name | String | Yes | The full name of the user. |
Output Parameters
Name | Type | Description |
---|---|---|
Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
Name | Type | Required | Example | |
---|---|---|---|---|
Group Name | String | Yes | Administrators | |
User Name | String | Yes | JGalt | |
Domain | String | Yes | ABC.com | Specify customer domain if you are renaming a Domain User in the Local Group. |
Computer_Name | Specify computer name if renaming Local User in Local Group. |