SPWebApplication.AllowAnalyticsCookieForAnonymousUsers property

Enables or disables analytics cookies for anonymous users.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property AllowAnalyticsCookieForAnonymousUsers As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.AllowAnalyticsCookieForAnonymousUsers

instance.AllowAnalyticsCookieForAnonymousUsers = value
public bool AllowAnalyticsCookieForAnonymousUsers { get; set; }

Property value

Type: System.Boolean
true if analytics cookies for anonymous users is enabled; otherwise, false.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace