CurrentUser Property

Applies To

NameSpace object.

Description

Returns the currently logged on user as a Recipient object. Read-only.

Example

This example displays a message box containing the name of the currently logged on user.

MsgBox olNameSpace.CurrentUser.Name