Implementing a Logon Object

Applies to: Outlook 2013 | Outlook 2016

Every address book, message store, and transport provider instantiates a logon object as part of its implementation of IABProvider::Logon, IMSProvider::Logon, or IXPProvider::TransportLogon. Logon objects implement methods that help MAPI service client requests. Depending on your type of service provider, your logon object will support one of the following interfaces.

Logon object interface Service provider
IABLogon : IUnknown
Address book provider
IMSLogon : IUnknown
Message store provider
IXPLogon : IUnknown
Transport provider

Address book and message store providers implement the following features in their logon objects:

If your provider is an address book provider, you will also implement the following methods and associated features:

A transport provider's logon object, which implements IXPLogon : IUnknown, is quite different from the logon objects implemented by the other types of service providers. It has only two features in common with the other logon objects: access to a status object through the IXPLogon::OpenStatusEntry method and a logoff operation through the IXPLogon::TransportLogoff method. Transport providers implement the following unique features in their logon objects:

See also

Implementing Service Provider Logon