About the Account Management API [Outlook 2003 API Reference]

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 defintions, data types, properties, and interfaces.

Definitions:

Constants for the Account Management API

Data types:

ACCT_BIN

ACCT_VARIANT

Properties:

PR_NEXT_SEND_ACCT

PR_PRIMARY_SEND_ACCT

PROP_ACCT_ID

PROP_ACCT_IS_EXCH

PROP_ACCT_NAME

PROP_ACCT_SEND_STAMP

PROP_ACCT_STAMP

PROP_ACCT_USER_DISPLAY_NAME

Interfaces:

IOlkAccount

IOlkAccountHelper

IOlkAccountManager

IOlkAccountNotify

IOlkEnum

IOlkErrorUnknown