Friday, January 29, 2016

How to Hide Ribbon from Anonymous users in SharePoint 2013

In 2013, we can’t modify the master page .master. We need to modify the .html file associated with the master page.

We have to modify .html
 <!--MS:--> and <!--ME:--> that shows the markup inside of the tags for the  masterpage


Search for text in html file “<div class =”ms-belltown-anonshow”>” tag

<!—MS:<SharePoint:SpSecurityTrimmedControl runat=”server” permission=”AddandCustomizepages”>—>

Add following code after closing div tag.

<!—MS:</SharePoint:SpSecurityTrimmedControl>—>




No comments:

Post a Comment