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 ReadOnly Property IISAllowsAnonymous As Boolean
Dim instance As SPSite
Dim value As Boolean

value = instance.IISAllowsAnonymous

Property value

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