Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Get AD Last password change date from a SQL SP

    you are looking for "PasswordLastChanged"

    example vbscript code would be

    Set objUser = GetObject _

    ("LDAP://CN=user1,OU=userAccounts,DC=company,DC=com")

    lastpwd = objUser.PasswordLastChanged

    WScript.echo "PasswordLastChanged is: " & lastpwd

    it's the same ldap object query you...

Viewing post 1 (of 1 total)