Skip to content

UsrMgr_ChangePassword

Changes the password for a local User.
If sPassword is set to * then it will use an encrypted password as described in Using passwords in CapaLib.
sUserName is case sensitive and must be entered in same form as defined on the local computer.

UsrMgr_ChangePassword(sUserName, sPassword) As Boolean

Name of the local User

New password for the User

If bStatus Then bStatus = UsrMgr_ChangePassword("Administrator", "*")

Scripting Guidelines

UsrMgr_CreateLocalUser UsrMgr_AddUserToLocalGroup Constants Package Property Variables