Export (0) Print
Expand All

MappingsFileBasePage class

SharePoint 2013

NOTE: This API is now obsolete.

Provides the code-behind for the mappings file.

System.Object
  System.Web.UI.Control
    System.Web.UI.TemplateControl
      System.Web.UI.Page
        MappingsFileBasePage
          Microsoft.SharePoint.Publishing.MappingsFileBasePage

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

[ObsoleteAttribute("The Microsoft.SharePoint.Publishing.MappingsFileBasePage class has been deprecated and should not be used.")]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public class MappingsFileBasePage : MappingsFileBasePage

Because of the nature of the library (Master Page Gallery) in which the mappings file lives, every user who has access to the site can navigate to the mappings file page and see its content. This is true even for anonymous users once anonymous access is granted. The class is used to prevent the rendition of the mappings file if it is directly requested.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft