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)
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.