NameCtrl.PresenceEnabled Property

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets a Boolean value that specifies whether presence is enabled.




An expression that returns a NameCtrl Control object.

Return Value

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.