SPIisSettings.AllowAnonymous Property
Gets or sets a Boolean value that specifies whether the Web application allows anonymous access.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public Property AllowAnonymous As Boolean
Get
Set
Dim instance As SPIisSettings
Dim value As Boolean
value = instance.AllowAnonymous
instance.AllowAnonymous = value
public bool AllowAnonymous { get; set; }
Property Value
Type: System.Boolean
true to allow anonymous access; otherwise, false. The default value is false.