1
votes

How do you make Sharepoint 2010 use a custom master page for a set of users and use another custom master page for another set of users?

Basically I am trying to show a branded cutdown version of Sharepoint to one set of user and present the full admin interface to the admins.

Thanks :)

2

2 Answers

1
votes

This will not be possible. There is one Master Page associated with a SPWeb (SPWeb.MasterUrl).

Your only possibility to have different "master pages" for different types of user is to use security trimming. You will have to use WebParts and other security trimmed stuff to show different content for admins/normal users.

1
votes

there is a solution for this. Usually we create two different master pages to manage this. One master page for administrators containing all staff that is usable for administratos like Ribbon for example.

Other version is only fp anonymous users where HTML generated is clean and no extra SharePoint staff generated for end user. This reduces traffic and time load of page for anonymous users.

This is very useful article how it can be done. We have implemented in the same way and work well.

hope it helps you,

Andrew