Tag Info

New answers tagged

4

You can use set AuthenticationRestrictions="AuthenticatedUsersOnly" Example: <SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AuthenticatedUsersOnly"> .... </SharePoint:SPSecurityTrimmedControl> Reference: http://sharepoint-community.net/profiles/blogs/hide-elements-in-sharepoint-for-anonymous-users-using


0

I was able to get this working using jquery and a siteColumn. Below is what i did. I created a site column names 'Internal Only' Added this site Column to any list that may contain information i want hidden if the user was off the network. I use jquery to grab the session As i mentioned above i have a session variable and cookie. in my javascript i get ...


2

If you have to show/hide parts of the Ribbon based on permissions then SPSecurityTrimmedControl is the ideal way to do it even if you are on SP 2013. You can use ViewListItems permissions to hide the Ribbon from users with Read Only permissions. See this http://msdn.microsoft.com/EN-US/library/ms412690 for all possible types of Permissions which can be used. ...



Top 50 recent answers are included