How can I determine the last date / time a user logged in to the MOSS 2007 web application? So far, I have not found this information in the object model.
I already thought that the request lastLogonTimeStamp generates AD / LDAP, but it will be very inaccurate.
Another idea is to write code to store the date / time of entry into the user data list whenever a user logs in. But so far I'm not sure how to do this.
So, does anyone know a better solution?
UPDATE
After several tests and more reflection on my problem, I realized that I really do not need the timestamp of the last login, and the timestamp of the last logout, respectively, at the end of the last session.
As there is now a way to get the timestamp of the last entry through the object model, I can imagine that there is also no way to get the date and time of the end of the last session.
So how can I get this information?
source share