Hi All,
I am trying to change the password of a user in Active
Directory. I tried using
object[] oPassword = new object[] {"<oldPassword>","<newPassword>"};
userEntry.Invoke("ChangePassword",oPassword);
when i tried this i am getting error "InteropServices.COMException'.
Hence i tried using
object[] oPassword = new object[] {"<newPassword>"};
userEntry.Invoke("ChangePassword",oPassword);
This works fine and the password gets changed.Then i tried login with
the old password and new password both passwords works. I need the user
should use the new password to login can any pz help me to solve this
problem.
Thanks
Balaji Krishnamoorthy