Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active Directory Last Logon or Last Logon Timestamp

Status
Not open for further replies.

taltonm

ISP
Nov 1, 2001
15
US
Hello,

In an effort to clean up Active Directory, I wrote a crystal report to connect to AD using the following command:

SELECT ObjectCategory, ADSPath, cn, LogonCount, LastLogonTimeStamp FROM 'LDAP://DC=Blah,DC=domain,DC=net'

Everything shows up fine besides LastLogonTimeStamp. I tried Lastlogon as well and still, when I put the field on the report, there is no Data for that field. What am I missing..

Any assistance is appreciated!

Thanks
Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top