SharePoint: How to enable/disable content based on security context
30.08.2007 Четверг 01:09
<Sharepoint:SPSecurityTrimmedControl AuthenticationRestrictions="AuthenticatedUsersOnly" runat="server">
… Everything here will be displayed to authenticated users only. Other users won't see anything.…
</Sharepoint:SPSecurityTrimmedControl>
There are other handy uses of SPSecurityTrimmedControl. Refer to Microsoft documentation.