SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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.