Changing a password using ADSI.
来源:岁月联盟
时间:2003-07-11
oUser.ChangePassword "oldpassword", "newpassword"
oUser.SetInfo
Set oUser = Nothing
If (err.number <> 0) Then
It Failed!
Else
It was successful!
End if