SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our internal auditors have made a request to produce a regular report that shows when users access certain files.

With this in mind I was wondering - is there a way in the object model or otherwise to easily see what users are doing within SharePoint? Or is this currently not possible?

share|improve this question
up vote 4 down vote accepted

To view who has opened documents, you can run a Audit Log report. This is can achieved using the Audit Log reports

You go to the following setting: Site Actions > Site Settings > Site Collection Administration > Audit Log reports.

Check Configure audit settings for a site collection

share|improve this answer

A sort of tracking is achieved via the Auditing features that must be enabled at site collection level, which also offers a quite rich object model to extract these statistics by code (had a similar answer here SP2010: Best Practices to use SPAudit). A note of warning though - enable it selectively after proper consideration as this could get quite heavy database usage.

Alternatives would be HTTP modules to deploy your entire logic the way you want it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.