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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP AD LastLogonTime

Status
Not open for further replies.

Jiminald

Programmer
Oct 11, 2006
39
GB
Hi,

I'm using LDAP to access my Active Directory, and I'm using a user search feature.

The admin user selects a user they would like more information on.

This lists various things like LastLogonTime, LastPasswordChange, etc...

AD stores them in 64bit int, so I need some code that converts it into 32bit and then works out the 100-nanoseconds intervals from 1/1/1601 (That Active Directory for you!)

Thanks In Advanced :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top