Similar to the previous recipe, it is common to display certain content on a page only to users who have not logged in. In this recipe, we will add some content to our customized master page that only anonymous users can see.
To see the results of this recipe, you will need to be able to access the SharePoint site both anonymously and logged in.
To display specific content only to anonymous users, we will use the following steps:
Open SharePoint Designer.
Select Open Site. Enter the full 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 itSeattle_DisplayAnonymousContent.master
).Check out the new
Seattle_DisplayAnonymousContent.master
master page.Open the
Seattle_DisplayAnonymousContent.master
master page.Locate the element with the
ID_SuiteBarBrandingDelegate
ID.After the delegate...