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

Hi I want to be able to hide the 'Site 'actions' button at the top of my sharepoint page as well as the List Tools in the ribbon. I have a code which removes these altogether but I want to remove these for only a specific permission group not everyone that visits the site.

share|improve this question

1 Answer 1

Cindy,

You can use SPSecurityTrimmedControl to put your logic inside this control to hide the Site Actions and other buttons!

Have a look at:
Hide “Site Actions” -> “View All Site Content” in a 2010 Publishing Site
SecurityTrimmedControl – An Indispensible Tool for your public facing SharePoint web site (and others)

All possible permissions value are Listed on MSDN

share|improve this answer

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.