Article ID: 192949 - Last Review: September 28, 2007 - Revision: 2.4 How To Find Password Last Changed Date Using ADSIThis article was previously published under Q192949 SUMMARY
The Active Directory Service Interfaces (ADSI) Windows NT provider does not
support the PasswordLastChanged Property of an IADsUser object. You can computer this date by subtracting the password expiration period from the password expiration date to get the last change date. Note that for users whose passwords never expire, the PasswordExpirationDate will be in the past and the computation still works correctly.
MORE INFORMATION
The following Visual Basic code illustrates this:
REFERENCES
Active Directory Service Interfaces (ADSI) documentation is available in
the Platform SDK section of MSDN and in a help file you can download from
the following Web site:
http://msdn2.microsoft.com/library/aa772170.aspx
(http://msdn2.microsoft.com/library/aa772170.aspx)
APPLIES TO
| Article Translations
|

Back to the top
