IISAllowsAnonymous Property

The IISAllowsAnonymous property of the SPSite class gets a Boolean value that indicates whether anonymous access is enabled in Microsoft Internet Information Services (IIS).

Property Value

true if anonymous access is enabled in IIS; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security