I am writing a basic active directory integration into my latest application and am struggling. I've found code that will allow me to validate users and change their passwords but I'm struggling to find how to identify how many days a users has left to change their password.
For example, on our server at work we must change our passwords every 30 days or so. I want to be able to query active directory against a given users and identify that they have 14 days left (or however many) to change their password. Does anybody know how I can do this?
For example, on our server at work we must change our passwords every 30 days or so. I want to be able to query active directory against a given users and identify that they have 14 days left (or however many) to change their password. Does anybody know how I can do this?