SetPassword
Purpose
The SetPassword function sets the password in the user object.
Requirement
This must be followed by a WriteObject function.
Note: It is recommended that the application use the ChangePassword function to change a user password.
Syntax
HRESULT SetPassword(
const LPCTSTR NewPassword);
Argument |
In/Out |
Description |
NewPassword |
In |
Password assigned to the user. |