|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ADSI QuestionHi
While using Active Directory, there is a setting which specifes that when a user's password is going to expire, a warning message should be shown to him 'x' days before expiry. I think it is called 'Interactive Logon'. For e.g. in my organization, 7 days before the password is about to expire, a message pops up asking me if I want to change my password. I have to implement a similar thing in my application. I know how to get the password expiration date. But how do I fetch this figure of 7 from Active Directory in code, so that I can compare this with the expiration date and show a message if required? Is there some attribute available such as maxPwdAge or lockoutDuration. Kindly help - I need this one urgently. Thanks in advance Vikas Manghani |
|||||||||||||||||||||||