Export (0) Print
Expand All

Account.UserName Property (Outlook)

Returns a String representing the user name for the Account. Read-only.

Version Added: Outlook 2007

expression .UserName

expression A variable that represents an Account object.

The purpose of Account.SmtpAddress and UserName is to provide an account-based context to determine identity.

If the account does not have a user name defined, UserName returns an empty string.

© 2014 Microsoft