Check what every user has done in sharepoint 2010

Our site is internet based with claims based authentication with sql server membership provider

Customer wants to see in the back end a report to see per user what they did
For example
User enterred site
user visited that page
user commented on that article
user visted that another page.

something like that, please give me your guidance in how to do this, I know sharepoint logs everything, what I dont know is how to get the data this way

Who is Participating?
GeorgeGerguesConnect With a Mentor Commented:
There is a very detailed code with documentation on MSDN


Best of luck
That would be under each site collection .

You should look under Site Settings -> Administration - > site audit and audit logs.

Best of luck.
LuisEstebanValenciaAuthor Commented:
I already enabled everything on that page. I guess that I can see the reports under Web Analytics ?

However,  it says that reports are until yesterday, and as I had never used the site collection, there is no info.
How can I force the system to gather the audit logs again.

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

the web Analytics will only work daily , after the data usage collection job run

here it is.

you can force any job to run if you know the name

LuisEstebanValenciaAuthor Commented:
I just checked but that doesnt give me the info I need, I want to know every action the user did, PER USER.

Any idea.

You will need to write code to do that per user .
but it only shows the most viewed hits etc.

If you turn Audit on. you will get more information but there is a performance penalty.
also you can write some code against the SPChange  object.

LuisEstebanValenciaAuthor Commented:
Do you have an example?
LuisEstebanValenciaAuthor Commented:
this seems a good object to work with, but for changes,

but what about if I want to know the trail of a user, for example

user A
visite page 1
visited page2
visited page 3

can I do that programaticalla?
That is more of a web trending and tracking ,  I have to admit that is not SharePoint strongest features.

If you plan to do this type of web analytics use Omniture  from ADOBE
LuisEstebanValenciaAuthor Commented:
I cant buy a third party software, I need a very simple interface showing what pages the user visited.
The problem is that I need to do that for each user
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.