Implementing a Logon Object

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 the following interface.

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

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

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

A transport provider's logon object, which implements IXPLogon, 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 OpenStatusEntry method and a logoff operation through the TransportLogoff method. Transport providers implement the following unique features in their logon objects: