Re: Account expiration and creation dates

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



This is something you could do easily with ADFind set to retrieve the
accountExpires and whenCreated attributes. Any LDAP query tool can do this
for you, but the most difficult part is converting the value stored in
accountExpires into a readable datetime (it is stored as a large integer
FILETIME structure). ADFind does that for you.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"inteq" <inteq@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9EAD1258-571B-4A05-9672-80F077C84893@xxxxxxxxxxxxxxxx
Hello All,

I am looking for a free tool (command line or GUI) that can list all users
in AD and provide me with two peaces of information:
1. when the account will expire
2. when the account was created

If I need to post this in the scripting forum sorry for the miss-post. I
have found several command line utilities; dsget and the tools at
joeware.net
that can provide the expiration date but only for a specific user if
given. I
need something that can list out all the users in a Domain. Maybe I missed
something with these tools or didn't properly use them - if this is the
case
if someone could let me know what the proper syntax would be that would be
great.

Thanks for your time in advance!
Randy





.