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

Convert SPUser and SPSite to C#

$
0
0

Following gives me what I need, but I need to convert this to C#.

 Get-SPUser -web http://Money/sites/mymoney | Select UserLogin  > c:\temp\datadump.txt 

Get-SPSite -Limit All |
  Select -ExpandProperty RootWeb |
  Select -ExpandProperty Groups |
  Select {$_.ParentWeb.Url}, Name > c:\temp\group.txt

Please help

Thanks

 

Viewing all articles
Browse latest Browse all 11571

Trending Articles



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