This documentation is archived and is not being maintained.

SPSite.IISAllowsAnonymous Property

Windows SharePoint Services 3

Gets a Boolean value that indicates whether anonymous access is enabled in Microsoft Internet Information Services (IIS).

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

public bool IISAllowsAnonymous { get; }

Property Value

Type: System.Boolean
true if anonymous access is enabled in IIS; otherwise, false.