AuthoringContainer Class
Container control used to display or hide authoring components on a Web page, based on the current context.
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
Microsoft.SharePoint.Publishing.WebControls.AuthoringContainer
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)] [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] [SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)] public sealed class AuthoringContainer : WebControl
Some controls on a Web page are intended for use by authors or other users who have permissions to modify or review content. For other users of the Web site, such as readers with restricted permissions, these controls should not be displayed. Placing controls inside an AuthoringContainer on a page will ensure that the contained controls do not render for users who do not have rights to edit a page.