IISAllowsAnonymous property
Collapse the table of content
Expand the table of content

SPSite.IISAllowsAnonymous property

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.
© 2016 Microsoft