Share via


About the Account Management API

About the Account Management API

The Account Management API provides access to account information and supports notifications of account changes. As clients of this API, mail providers do the following:

  1. Use IOlkAccountManager to manage access to accounts and set up notifications about account changes.
  2. Implement and use IOlkAccountNotify to send notifications about account changes.
  3. Use IOlkEnum to enumerate accounts.
  4. Use IOlkAccount to get and set properties and other information about an account. Clients obtain this interface through IOlkAccountManager::FindAccount or IOlkEnum::GetNext to access an individual account.
  5. Implement and use IOlkAccountHelper to provide the account manager helper functionality, including getting an account's profile name and the current MAPI session.
  6. Implement and use IOlkErrorUnknown to provide extra information about an error in IOlkAccountManager, IOlkAccountNotify, and IOlkAccount.

The Account Management API provides the following definitions, data types, interfaces, named properties, and properties.

Definitions:

Constants for the Account Management API

Data types:

ACCT_BIN

ACCT_VARIANT

Interfaces:

IOlkAccount

IOlkAccountHelper

IOlkAccountManager

IOlkAccountNotify

IOlkEnum

IOlkErrorUnknown

Named properties:

dispidInetAcctName

dispidInetAcctStamp

Properties:

PR_NEXT_SEND_ACCT

PR_PRIMARY_SEND_ACCT

PROP_ACCT_DELIVERY_FOLDER

PROP_ACCT_DELIVERY_STORE

PROP_ACCT_ID

PROP_ACCT_IS_EXCH

PROP_ACCT_NAME

PROP_ACCT_SEND_STAMP

PROP_ACCT_SENTITEMS_EID

PROP_ACCT_STAMP

PROP_ACCT_USER_DISPLAY_NAME

PROP_MAPI_TRANSPORT_FLAGS