NameCtrl Members

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.

Public Properties

Name

Description

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.

Public Methods

Name

Description

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.