Tuesday, 29 January 2013

Hide any control in master page for example site actions

In order to hide site actions ribbon you can use spsecuritytrimmedcontrol in master page.
<SharePoint:SPSecurityTrimmedControl ID=”SPSecurityTrimmedControl1″
  PermissionsString=”manageLists” runat=”server”>
hidden controls for users who do not have managelists permission
 
</SharePoint:SPSecurityTrimmedControl> 

No comments:

Post a Comment