sharepoint-2007mosssharepoint-api

How to show Sharepoint Site Usage Statistics in a page?


What's the best way of showing site usage statistics in a page? I know I can view the stats from /_layouts/SpUsageSite.aspx and from designer also, but if I want to show this information in a customized way for a target audience, how can I show this data in a page? at least I need to show "recently visited pages".


Solution

  • thanks all but I solved my problem quite easily, I simply used

    spweb.GetUsageData(SPUsageReportType, SPUsagePeriodType)

    didn't know SPWeb has such method, its enough for my requirement. thank you @Chris SPUsage is also one solution I think, I'll try it next time