NameCtrl Members

NameCtrl Members

Last modified: February 02, 2010

Applies to: SharePoint Foundation 2010

The NameCtrl control is an ActiveX control that allows a Web page to display presence information for people, and allows the user to take various actions with respect to those people through an on-object user interface (UI) in Microsoft SharePoint Foundation.

The following tables list the members exposed by the NameCtrl control.



NameCtrl.OnStatusChange Property

Gets the name of the function to call for handling status changes.

NameCtrl.PresenceEnabled Property

Gets a Boolean value that specifies whether presence is enabled.



NameCtrl.ShowOOUI Method

Displays an on-object UI for a specified user name and is typically used with the onmouseover event.

NameCtrl.GetStatus Method

Returns the online status of a user, typically to draw the pawn icon.

NameCtrl.HideOOUI Method

Hides the object UI.

NameCtrl.DoAccelerator Method

Opens the drop-down menu for online presence information if an on-object UI is being displayed.

© 2016 Microsoft