views:

351

answers:

3

I want to build a WebService that shows two columns: User Name , Url.

It will be a list of all the entrances to my sharepoint site.

I think to use the "MOSS usage service", are there any articles about how to get to the service's data? or maybe I need to deal here directly with the IIS ?

+1  A: 

First of all you need to enable usage analysis processing (TechNet). Then for out-of-the-box options you already have, there are instructions in that TechNet article and you can also use SharePoint Designer.

Unfortunately the usage data cannot be accessed programmatically via the SharePoint API. You should set up IIS Log Parser instead. There is lots of information in this question Exporting SharePoint usage log files into a database using LogParser and blog posts from Todd Klindt, Cory Burns.

Alex Angas
Thanks!! seems to be what I'm looking for
Erez
A: 

You can the access the usage data programmatically via the SharePoint API.

Take a look at this article: http://www.15seconds.com/issue/050623.htm

moss_lover
A: 

First you must enable the site usage statistics in MOSS. Then you can use the GetUsageData method of SPWeb.

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.getusagedata.aspx

nicoruy