Share via


IExternalSecurityWeb.GetAnonymousState Method

Returns a Boolean value that indicates whether anonymous access is enabled for a site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Function GetAnonymousState As Boolean
'Usage
Dim instance As IExternalSecurityWeb
Dim returnValue As Boolean

returnValue = instance.GetAnonymousState()
bool GetAnonymousState()

Return Value

Type: System.Boolean
true if anonymous access is enabled for the site; otherwise, false.

Remarks

The GetAnonymousState method returns information that is used by a crawler in a search Web service.

See Also

Reference

IExternalSecurityWeb Interface

IExternalSecurityWeb Members

Microsoft.SharePoint Namespace