<SharePoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server" PermissionsString="ManageWeb">
<<SharePoint:SiteActions control>>
</SharePoint:SPSecurityTrimmedControl>
To check the permission set Enumeration check this:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx
Reference: http://www.sharepointkings.com/2008/11/how-to-remove-site-actions-and-view-all.html
No comments:
Post a Comment