UnsecuredLayoutsPageBase.AllowAnonymousAccess property

Gets a value that indicates whether users can access the page without logging in.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property AllowAnonymousAccess As Boolean
    Get
'Usage
Dim value As Boolean

value = Me.AllowAnonymousAccess
protected virtual bool AllowAnonymousAccess { get; }

Property value

Type: System.Boolean
true if anonymous access is allowed; otherwise, false.

Remarks

The default implementation returns false.

See also

Reference

UnsecuredLayoutsPageBase class

UnsecuredLayoutsPageBase members

Microsoft.SharePoint.WebControls namespace