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

The Site Data web service requires "Site Collection Administrator" permissions. This seems to be a fairly far-reaching permission to grant. Is there a way to programmatically determine which sites the user the web service client runs under is permissioned to see? Alternatively, for a recursive solution, to see which sub-sites are available under the current one?

Thank you.

share|improve this question
add comment

1 Answer

You might want to try the Webs webservice and utilize the GetAllSubWebCollection, that should be security trimmed to the user executing the call and not need Full Control permissions.

http://msdn.microsoft.com/en-us/library/webs.webs.getallsubwebcollection.aspx

share|improve this answer
    
Right. Thanks, will check that out. What is the difference between a "site" and a "web"? –  mseebach Aug 20 '12 at 13:36
add comment

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.