SPCurrentUsers

SPCurrentUsers adds basic real-time logging functionality to SharePoint by storing the latest time and url of users' access. This information is then made available through a dynamic Site Actions menu item as well as in a custom administration application page.

Figure 1-1.png Figure 2.png

Features

  • Current usage logging
  • Page- and URL-specific settings for session timeouts with configurable default timeout
  • Real-time reporting on Site Actions menu
  • Page-by-page listing of current site usage
  • Utilizes SharePoint technologies where possible

SPCurrentUsers uses only supportable methods for extending the functionality of SharePoint and does not modify any default features or files in SharePoint.

About SPCurrentUsers and Understanding SharePoint Journal Volume 1 - Issue 1

SPCurrentUsers is the basis for USP Journal Volume 1 - Issue 1. The issue teaches how the solution is made, taking the reader through every step towards recreating SPCurrentUsers while explaining details about how each feature works. As such, SPCurrentUsers is made with instruction in mind.
USP Journal Volume 1 - Issue 1 deals with the following aspects of the solution:
  • DelegateControl
  • CustomAction, both CAML based and Assembly based
  • Custom application pages in SharePoint, using code-behind files
  • List deployment and column manipulation
  • Solution setup using SharePoint event receviers

Subtopics include:
  • Querying list data in SharePoint
  • Extending the User Information List
  • Using WSPBuilder to speed up development time
  • Feature activation and deactivation through code.

USPJournal is available for download Understanding SharePoint Journal webpage.

A simplified version without current page stats and no dynamic reporting is available in the blog article "Find Number of Users Currently Logged on to a SharePoint Site"

Last edited Feb 18, 2009 at 3:49 AM by furuknap, version 6