SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a page where I need to pick a list to store information. This is either a global list for all users, or a personal list for the specific user.

The current practice is to detect edit vs browse with WebPartManager.DisplayMode.Name but this doesn't distinguish between the two types of edit modes.

How do I tell one from the other?

share|improve this question
up vote 1 down vote accepted

WebPartManager.DisplayMode gives you the mode of the page: Browse, Edit, ...

WebPartManager.Personalization.Scope gives you the scope of the page: Shared or User

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.