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
add comment

3 Answers

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

http://social.msdn.microsoft.com/Forums/en/sharepoint2010general/thread/ff828c3f-9f35-4d71-9870-156625d1f81b

share|improve this answer
add comment

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

SCRIPT

$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
add comment

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(); 
    } 
} 

http://stackoverflow.com/questions/1205050/how-to-retrieve-the-list-of-sharepoint-sites-user-has-access-to-from-a-window

share|improve this answer
add comment

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.