LoginName Property Example

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

MsgBox dscDiscussions(1).LoginName