LoginName Property

Office Web Discussions Client Visual Basic

expression.LoginName

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The logon name is usually the same as the user's e-mail alias.

Example

This example displays a message box containing the logon name of the current Microsoft Windows NT user.

MsgBox dscDiscussions(1).LoginName