Set Password Local User

Sets a password for a local user.

Privileges

Elevated – Run as administrator

Input Parameters

Name Type Required Description
User Name String Yes Name of the user.
Password String Yes The new password for 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
User Name String Yes JGalt
Password String Yes Password!@#