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

I am looking for the possibility to display all the team sites a user is member of in the my site for the user.Also the possibility for the admin to get the same information about different user.

Is it possible in SharePoint 2010 entreprise edition? if yes could you please point me in the right direction?

share|improve this question

3 Answers 3

If you have EnterpriseSearch set up, it already has that information for you, so you can query that with very good performance.


share|improve this answer

You can use powershell to view list of all sites within a site collection user has access to.


$user = "YOUR DOMAIN\YOUR USER" $site = $gc | Get-SPSite YOURSITECOLLECTIONURL $site | Get-SPWeb -Limit All | Get-SPUserEffectivePermissions $user | Out-GridView -Title "Web Permissions for $user"

Source: http://sp2010userperm.codeplex.com/

share|improve this answer
have a look here -social.msdn.microsoft.com/Forums/is/sharepoint2010general/… –  alam235 Sep 26 '12 at 9:13

Its already been asked i think? here is the code snippit and url :)

using(SPSite site = new SPSite("http://example/site/")) 
    using (SPWeb web = site.OpenWeb()) 
        SPWebCollection webCollection = web.GetSubwebsForCurrentUser(); 


share|improve this answer

Your Answer


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.