Hide ribbon controls items for non admin users in sharepoint 2010 ribbon


<Sharepoint:SPSecurityTrimmedControl runat="server" Permissions="ManageLists">
 add the above code beofre ribbon div  in master page
   <div id="s4-ribbonrow" class="s4-pr s4-ribbonrowhidetitle" style="width:1250px">
......
------
----------------

and end the code like this
</div>
 </SharePoint:SPSecurityTrimmedControl>

 
enjoy...
Only site action able to see.

2 comments:

  1. Thanks for your solution! :)

    This worked perfectly in SharePoint Online 2010. I tested it for all permission levels and only the owner of the site was able to see the ribbon.

    Have you tried this in SharePoint 2013 yet?

    Lee

    ReplyDelete
    Replies
    1. Thanks for your comments. I didn't start to use 2013.

      Delete

SPFX - HTTPClient - Curd Operations - SharePoint list.

  Create solution in the name of SpfxCrud. ISpfxCrudProps.ts export interface ISpfxCrudProps {   description : string ;     context : an...