What Sites do I have permissions to?

12. April 2011 02:32 by Todd Carter in Search, SharePoint  //  Tags:   //   Comments (3)

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

Comments (3) -

Daniel
Daniel
4/12/2011 3:56:55 AM #

Very interesting article!!

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

Regards
Daniel

Credit Counseling
Credit Counseling
4/13/2011 9:33:10 AM #

I love finding little tricks to do searches with.

Thanks you mate!

topics for research paper
topics for research paper
5/22/2011 4:56:05 PM #

Thanks for an advice. it's always pleasant to read the post of the professionals!

Comments are closed