Hi,
how could I determine the last login date/time of a user on a MOSS 2007 web application? Till now I didn't find this information within the object model.
I've already thought about requesting the lastLogonTimeStamp form the AD/LDAP but this will be very imprecise.
Another idea would be to write some code to store the login date/time in the user information list whenever a user logs in. But till now I'm not really sure how to do this.
So, does someone know a better solution?
UPDATE
After doing some tests and more thinking about my problem, I realized that in fact I don't need the timestamp of the last login but the timestamp of the last logout respectively of the end of the last session.
As there is now way to get the timestamp of the last login via the object model I can imagine that there is also no way to get the end date and time of the last session.
So how could I get this information?