Account Properties (Outlook)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Properties

Name

Description

AccountType

Returns a constant in the OlAccountType enumeration that indicates the type of the Account. Read-only.

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

AutoDiscoverConnectionMode

Returns an OlAutoDiscoverConnectionMode constant that specifies the type of connection to use for the auto-discovery service of the Microsoft Exchange server that hosts the account mailbox. Read-only.

AutoDiscoverXml

Returns a String that represents information in XML retrieved from the auto-discovery service of the Microsoft Exchange Server that is associated with the account. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

CurrentUser

Returns a Recipient object that represents the current user identity for the account. Read-only.

DeliveryStore

Returns a Store object that represents the default delivery store for the account. Read-only.

DisplayName

Returns a String representing the display name of the e-mail Account. Read-only.

ExchangeConnectionMode

Returns an OlExchangeConnectionMode constant that indicates the current connection mode for the Microsoft Exchange Server that hosts the account mailbox. Read-only

ExchangeMailboxServerName

Returns a String value that represents the name of the Microsoft Exchange Server that hosts the account mailbox. Read-only.

ExchangeMailboxServerVersion

Returns a String value that represents the full version number of the Microsoft Exchange Server that hosts the account mailbox. Read-only.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

SmtpAddress

Returns a String representing the Simple Mail Transfer Protocol (SMTP) address for the Account. Read-only.

UserName

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