Re: Compare Password Lockout time to Current time

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Feb 4, 10:56 am, Bryan <Br...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

I'd like to compare the password lockout time of an Active Directory user
with the current time, if the current time is greater than the lockout time
and the user is still locked out do something, (echo somethign to the screen).

I searched:
http://www.google.com/search?q=vbscript+adsi+lockout+time

and found a link to a book on Google Books (fourth or fifth link
down). It said that the lockouttime attribute of a user account
remains set even after you unlock and account, until the person next
logs in successfully. So, I guess watch out for that.

-todd
.



Relevant Pages