What Sites do I have permissions to?

Just had a conversation with a couple instructors in the speaker room here at the BPUK Conference. What is the most efficient way to get a list of sites a user has permissions to. Search of course, it does the security trimming for you and it has a master list of all sites within SharePoint (assuming you crawl SharePoint sites).

The trick here is to format a Keyword query search with the proper properties, in this case it’s the contentclass property with a value of sts_site. Optionally we might want to add additional constructs which would limit the scope of the search such as using the PATH property and using suffix matching.

So here is a query logged on as the Administrator…

eff1 

And here is another logged on as Dan Bacon Jr…

eff2

Post to Twitter Post to Facebook Post to LinkedIn Post to Delicious Post to Digg

3 thoughts on “What Sites do I have permissions to?

  1. Daniel

    Very interesting article!!

    Do you know any search filter to get only site collections with contribution rights?

    Regards
    Daniel

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>