Skip to main content


Showing posts with the label Hide ribbon from users

How To Hide Ribbon From Users Without Edit Page Privilege

A way to remove or hide the ribbon area from user with lease privilege, and here is how: 1)Open your SharePoint master page 2)Locate this line:<divid="s4-ribbonrow"class="s4-pr s4-ribbonrowhidetitle"> 3)Change it to:<divid="s4-ribbonrow"class="s4-pr s4-ribbonrowhidetitle"style="display:none"> 4)Now find the end of the “s4-ribbonrow” tag and add following block right after it:<Sharepoint:SPSecurityTrimmedControlID="SPSecurityTrimmedControl2"runat="server"PermissionsString="AddAndCustomizePages"><scripttype="text/javascript">        document.getElementById("s4-ribbonrow").style.display = "block";
</Sharepoint:SPSecurityTrimmedControl> 5)Save the new master page and publish it. Learn more about SPSecurityTrimmedControl

Show or Hide SharePoint 2010 ribbon based on SharePoint Groups

This SharePoint 2010 solution allow site administrator to define who can or cannot see the SharePoint ribbon. In few words With this solution you can on each site define if the ribbon is display or not for :     * Everyone     * Anonymous user     * for one or many specific SharePoint groups This solution can be found on