I want to track my employee in/out time within sharepoint. Here is what i want to do
Employee will singin on Sharepoint 开发者_JAVA技巧when they in and logout (could be singin evening once again) when they leaving.
I want to capture their login and logout timing on sharepoint context using some simple method. I read audit loging section but it contains more info.
Well, as SharePoint sessions are really stateless this will be difficult to track, especially on multi server farms. E.g. What do you consider a log-off event, what if the user just closes the browser?
I actually implemented this in a commercial product that builds on top of the Audit log to determine when users have logged-on or off. It works really well, but it may be overkill for what you need.
Perhaps SharePoint Usage tracking keep that kind of information?
If not, maybe a custom HttpHandler could be of use.
精彩评论