Click here to Skip to main content
13,089,500 members (59,740 online)
Rate this:
Please Sign up or sign in to vote.
See more:
one of Our client need a date-wise list of Number of users locked out.

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 25-Mar-13 2:57am
Updated 25-Mar-13 19:04pm
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. (
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 26 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100