18/2/10

Hide 'Site Actions' for some users

If you need to hide the 'Site Actions' dropdown for some users but not all of them (administrators must see this dropdown), you've to edit the master page and add a SPSecurityTrimmedControl that contains your SiteActions control:


SharePoint:SPSecurityTrimmedControl ID="spSecurity" runat="server" PermissionsString="ManageWeb">
SharePoint:SiteActions CONTROL
/
SharePoint:SPSecurityTrimmedControl>

No hay comentarios: