Security Trimmed Control Show Only to Authenticated Users
-
10-12-2019 - |
Vra
I have a public facing website and on the homepage there are few contents that I want to show only to Authenticated Users.. Anonymous users should not be able to see it, what Permissions String should I use?
I guess ViewPages and ViewListItems will do? But can someone confirm please..
Oplossing
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
Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan sharepoint.stackexchange