Displaying specific content only to site administrators
When working with intranet or extranet sites, as well as public-facing sites that allow users to log in, it is common to only allow administrators of the SharePoint site to see certain content. In this recipe, we will use our customized master page to hide content from users who are not site administrators.
How to do it...
Follow these steps to display specific content only to site:
- Open SharePoint Designer.
- Select Open Site. Enter the complete URL to the SharePoint site and select Open.
- From the Navigation pane, select Master Pages.
- In the list of files in the Master Pages library, make a copy of
seattle.master
(for our example, we have renamed it asSeattle_DisplayAdministratorContent.master ...
Get SharePoint 2013 WCM Advanced Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.