Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am using the SPSite.Usage property in the object model to get statistics on the size of a site collection in SharePoint 2010. With my own user account being a farm administrator, site collection administrator, database administrator and, indeed, a domain administrator, I can always retrieve this property. However, most normal users (including those with contributor permissions on the site in question) cannot access this property.

What are the minimum permissions required to access the SPSite.Usage property?

share|improve this question

1 Answer 1

There are site permission called View Usage Data. In default permission level, its only included in full control permission. However, You can change which permissions are included in a particular permission level (except for the Limited Access and Full Control permission levels), or you can create a new permission level to contain specific permissions

For more information, visit http://technet.microsoft.com/en-us/library/cc721640.aspx

share|improve this answer
    
Although called View Usage Data in the documentation, the actual permission is called View Web Analytics Data. Unfortunately, turning this on does not give the user permission to the SPSite.Usage property via the object model. It seems to be concerned more with usage reports than the raw data. –  Bradley Smith Aug 31 '12 at 8:19

Your Answer

 
discard

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.