Last post May 13, 2008 01:51 AM by johram
May 07, 2008 06:07 PM|elaraq|LINK
hi everyone, i need to know about how i get password is expired in a Active Directory??
I work with ASP.NET C#.
May 10, 2008 07:10 PM|johram|LINK
There's an attribute called pwdlastset that you can read from your DirectoryEntry.Properties, but you have to convert it as it is in file time format.
Here's a previous thread for you:
Check password expired
Code samples are in VB.net though but I think you'll manage to translate. Let us know otherwise.
May 12, 2008 07:08 PM|elaraq|LINK
Thanks for help, but how it work....?
May 13, 2008 01:51 AM|johram|LINK
Start with reading Ryan Dunn's Common System.DirectoryServices Patterns
It should give you an idea on how to get started. Good luck!