Export (0) Print
Expand All

NameCtrl.PresenceEnabled Property

Last modified: May 30, 2008

Applies to: SharePoint Foundation 2010

Gets a Boolean value that specifies whether presence is enabled.


expression.PresenceEnabled

expression

An expression that returns a NameCtrl Control object.

true if presence is enabled; otherwise, false.

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.

Show:
© 2014 Microsoft