IADsUser Method: SetPassword

SetPassword
(
NewPassword As String
);

Parameters

[in] String NewPassword
User's new password on a server or domain.

Description
Sets a user's password as specified by NewPassword.

Example

Dim UserObject As IADsUser
Set UserObject = GetObject("NTDS://YourDomainName/UserName")
UserObject.SetPassword ("NewPassword")

 

See Also