I have been doing research, and I havent found a way to remove the WHOLE site actions menu for “non-content editors” in sharepoint. I have researched this:
<SharePoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server" PermissionsString="ManageSubwebs">
but this only hides certain links in the site actions menu, what if I want to hide the whole thing so you cant even see ‘site actions’ in the upper left hand corner of the page for certain users. The content editors should be able to see this menu, but non-content editors should not be able to see this menu at all.
Try changing PermissionsString to “ManageWeb”… it will hide for all users who doesn’t have ManageWeb role… How are you going to categorize “certain users” in your question, if it is by role, you can quickly have a look at msdn