Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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)

protected virtual bool AllowAnonymousAccess { get; }

Property value

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

The default implementation returns false.

Show:
© 2015 Microsoft