Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets a Boolean value that specifies whether the new Web application allows anonymous access.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property AllowAnonymousAccess As Boolean
Get
Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As Boolean
value = instance.AllowAnonymousAccess
instance.AllowAnonymousAccess = value
public bool AllowAnonymousAccess { get; set; }
Property Value
Type: System.Boolean
true if anonymous access is allowed; otherwise, false. The default value is false.