Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to enumerate all web applications, site collections, and sites within a Farm

$
0
0
Hello All,

I searched the forums to find an answer for this, and did find one using the SharePoint API, but I am wondering how to accomplish this using the exposed SharePoint web services (if possible).

How can one enumerate all web applications, site collections, and sites under a Farm?  I want to basically have a hierarchy (tree) that a user can click on in a Windows Forms Application.  Clearly what can be seen in the tree will need to be security trimmed.  I am just wondering how to list all web applications, site collections, and sites under a Farm for now.

If this has been answered elsewhere, please feel free to simply point me to the URL.  Of course, code is certainly appreciated :)

Thank you for your time in responding.

Obscured

Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>