SPWeb.PresenceEnabled Property

Gets or sets a Boolean value that specifies whether inline presence information is enabled on the website.

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

public bool PresenceEnabled { get; set; }

Property Value

Type: System.Boolean
true if inline presence information is enabled; otherwise, false.

The PresenceEnabled property gets or sets the raw presence value of the site, while the EffectivePresenceEnabled property returns the raw presence value combined with the global virtual server setting for presence. Use the PresenceEnabled property when creating administration tools, and use the EffectivePresenceEnabled property to display presence at run time.