Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Retrieve list of all sites (and collection) along with users organized by group and project along with Role/permission.

$
0
0
Hello, 
    I need to retrieve list of all sites (and site collection) along with users organized by group and project along with Role/permission.
I have bits and pieces like below but I can use help with full picture.

 URL = root site

            using (SPSite scSite = new SPSite(url))
            {
                using (SPWeb scWeb = scSite.OpenWeb())
                {
                    foreach (SPGroup grpin scWeb.Groups)
                    {
                        output  += grp.Name + System.Environment.NewLine;
                    }
                }
            }
  
Thanks

Viewing all articles
Browse latest Browse all 11571


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