UsrMgr_ChangePassword
Description
Section titled “Description”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.
Syntax
Section titled “Syntax”UsrMgr_ChangePassword(sUserName, sPassword) As Boolean
Parameters
Section titled “Parameters”sUserName (String)
Section titled “sUserName (String)”Name of the local User
sPassword (String)
Section titled “sPassword (String)”New password for the User
Example
Section titled “Example”If bStatus Then bStatus = UsrMgr_ChangePassword("Administrator", "*")Related functions
Section titled “Related functions”UsrMgr_CreateLocalUser UsrMgr_AddUserToLocalGroup Constants Package Property Variables