NameCtrl.PresenceEnabled Property
Applies to: SharePoint Foundation 2010
Gets a Boolean value that specifies whether presence is enabled.
expression.PresenceEnabled
Parameters
expression
An expression that returns a NameCtrl Control object.
Return Value
true if presence is enabled; otherwise, false.
Remarks
If true, the NameCtrl.GetStatus Method method returns the presence of a user, and the handler function that the NameCtrl.OnStatusChange Property property specifies is called. If false, the GetStatus method returns 1 (offline) and the handler function is not called.
The PresenceEnabled property is false if the control is used on a page that is not on the intranet or on a trusted site, or if a supported version of an instant messaging program such as Windows Live Messenger is not running.