Microsoft.SharePoint.WebCon ...


UnsecuredLayoutsPageBase Class (Microsoft.SharePoint.WebControls)
Represents an application page, sometimes called a layouts page, that can request certain resources and verify that the client has not been disconnected.

Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name:="FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name:="FullTrust")> _
Public Class UnsecuredLayoutsPageBase
    Inherits Page
    Implements IRequestResources
Visual Basic (Usage)
Dim instance As UnsecuredLayoutsPageBase
C#
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name="FullTrust")] 
[PermissionSetAttribute(SecurityAction.LinkDemand, Name="FullTrust")] 
public class UnsecuredLayoutsPageBase : Page, IRequestResources
Remarks

In general, use UnsecuredLayoutsPageBase as a base class for pages to which even unauthenticated users must have access; such as a login page.

For a page base control to which access can be limited to users that possess certain rights, use LayoutsPageBase.

Typically, you create a class in a code behind (.aspx.cs) file that derives from UnsecuredLayoutsPageBase. Your .aspx file, in turn, inherits from your custom page class. For example, the c:\Program Files\Microsoft Shared\web server extenstions\12\TEMPLATE\LAYOUTS\login.aspx page that ships with Windows SharePoint Services 3.0 inherits from an internal class named LoginPage which itself inherits from UnsecuredLayoutsPageBase.

Inheritance Hierarchy

System.Object
   System.Web.UI.Control
     System.Web.UI.TemplateControl
       System.Web.UI.Page
        Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase
           Microsoft.SharePoint.WebControls.LayoutsPageBase
Thread Safety

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

Tags :


Page view tracker