Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MappingsFileBasePage class
Collapse the table of content
Expand the table of content

MappingsFileBasePage class

SharePoint 2013

NOTE: This API is now obsolete.

Provides the code-behind for the mappings file.


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.
© 2015 Microsoft