Changes the user's password from the specified old value to a new value.
HRESULT IADsUser::ChangePassword(
BSTR bstrOldPassword, //The current password
BSTR bstNewPassword //The new password
);
This method supports the standard return values E_FAIL and E_UNEXPECTED, as well as the following:
Windows NT: Use version 4.0 and later.
Windows CE: Unsupported.
Header: Declared in iads.h.