Share via


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)
Available in Sandboxed Solutions: No

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