ref: vbMAPI_Account

On this page you'll find:

Overview

Equivalent MAPI object: IOlkAccount
Equivalent Outlook Redemption object: Redemption.RDOAccounts
Equivalent Outlook Object Model object: N/A
Parent: vbMAPI_Accounts

Class Description

This object is a wrapper for the Outlook IOlkAccount object.


Property Get Properties(ByVal PropTag As Long) As Variant

Returns the value of a specified property from this Outlook Account.

Property Get ID() As Long

Returns the value of property PROP_ACCT_ID from this Outlook Account.

Property Get Name() As String

Returns the value of property PROP_ACCT_NAME from this Outlook Account.

Property Get DisplayName() As String

Returns the value of property PROP_ACCT_USER_DISPLAY_NAME from this Outlook Account.

Property Get Stamp() As String

Returns the value of property PROP_ACCT_STAMP from this Outlook Account.

Property Get SendStamp() As String

Returns the value of property PROP_ACCT_SEND_STAMP from this Outlook Account.

Property Get IsExchange() As Boolean

Returns the value of property PROP_ACCT_IS_EXCH from this Outlook Account.

Property Get AccountType() As EnumAccountType

Determines the type of this account (AccountType_POP3, AccountType_IMAP, AccountType_EXCHANGE, AccountType_MAPI, AccountType_HTTP, AccountType_LDAP, AccountType_UNKNOWN).

Property Get AccountTypeAsStr() As String

Determines the type of this account as a string value (, , , , , , ).

Property Get Session() As vbMAPI_Session

Returns the session object associated with this object.

Property Get DefaultNewSignature() As vbMAPI_OutlookSignature

Returns the signature that is designated as the default for new messages when using this account.

Property Get DefaultReplySignature() As vbMAPI_OutlookSignature

Returns the signature that is designated as the default for reply and forward messages when using this account.


Enumeration description: EnumAccountType


AccountType_POP3 = &H0
AccountType_IMAP = &H1
AccountType_EXCHANGE = &H3
AccountType_MAPI = &H4
AccountType_HTTP = &H2
AccountType_LDAP = &H5
AccountType_UNKNOWN = &H6