Click here to Skip to main content
15,888,297 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
one of Our client need a date-wise list of Number of users locked out.
Eg.

Date locked outNumber of users locked outTotal attempt made by all user after
12-Jan-13 3 users 30 attempts
10-Jan-13 3 users 30 attempts




For this we need to get the history of the locked-out.
How can we achieved this using C# code?.
We are getting " result.Properties["badPasswordTime"][0] ",
result.Properties["badPwdCount"], result.Properties["lockoutTime"][0] etc. But it is not giving the desired result. Can anyone help me to sout-out this issue?
Posted
Updated 25-Mar-13 19:04pm
v3
Comments
Prasad Khandekar 25-Mar-13 9:28am    
You can retrieve this information via event log. I am not so sure about whether AD maintains any such history. This MSDN article will provide you a way forward. (http://technet.microsoft.com/en-us/library/cc776964(v=ws.10).aspx)
SHAJANCHERIAN 26-Mar-13 1:26am    
Thank you Prasad,
This will help me a lot..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900