次の方法で共有


Account.UserName Property (Outlook)

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

Version Information

Version Added: Outlook 2007

Syntax

expression .UserName

expression A variable that represents an Account object.

Remarks

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.

See Also

Concepts

Account Object Members

Account Object