ADAM: Setting versus Changing Password

Tech-Archive recommends: Speed Up your PC by fixing your registry



I have read and implemented a "SetPassword" routine as described in this MSDN
topic:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adam/adam/setting_user_passwords.asp

However, it does not seem to care about password history - I can change the
password to the same old password even though the policy doesn't allow this.
I assume that the SetPassord is intended for use by administrators and there
is some other way that should be used in code when a USER wants to change
their password. Please clarify.

Thanks!
.



Relevant Pages

  • Re: ADSI, password change, password history
    ... > The oUser.SetPassword does NOT enforce password history ... > (we are running the setpassword as a user who has permission to set ... > Is there any way to force the setpassword method to respect password ... which does not check password history. ...
    (microsoft.public.windows.server.scripting)
  • Re: ADSI, password change, password history
    ... > The oUser.SetPassword does NOT enforce password history ... > (we are running the setpassword as a user who has permission to set ... > Is there any way to force the setpassword method to respect password ... which does not check password history. ...
    (microsoft.public.win2000.security)
  • ADSI, password change, password history
    ... the oUser.ChangePassword enforces the password history. ... The oUser.SetPassword does NOT enforce password history ... (we are running the setpassword as a user who has permission to set ... Is there any way to force the setpassword method to respect password ...
    (microsoft.public.win2000.security)
  • ADSI, password change, password history
    ... the oUser.ChangePassword enforces the password history. ... The oUser.SetPassword does NOT enforce password history ... (we are running the setpassword as a user who has permission to set ... Is there any way to force the setpassword method to respect password ...
    (microsoft.public.windows.server.scripting)