I'm trying to figure out when a user has last visited.
So let's say I logged out of my SharePoint intranet last night at 11PM, and this morning I logged back in at 9AM, I'd like to see a message saying "you last logged in yesterday at 11PM" (and as far as I care, a console message would do just fine for now).
So. How can I see when the current user last logged in?
Thanks in advance for any help or suggestions, I really do appreciate your response.
My plan is to eventually use this to see if there are any new items that were added to our SharePoint intranet after the user has last visited, and then show those items to the user the next time he/she logs in. I know how to do the latter, I'm just stuck at finding out when a user last visited. :/