Platform SDK: Exchange Server |
The MBLSAMPL sample application demonstrates how to create and use a mailbox logon that allows privileged access to mailboxes. It also demonstrates how the IExchangeManageStore interface allows privileged access to mailboxes and remote manipulation of objects in mailboxes where administrator privileges have been granted. Privileged access means an application can use MAPI calls to perform actions such as read, write, and move, on individual or multiple mailboxes in the information store.
MBLSAMPL also demonstrates the use of the MBLOGON.LIB library functions. MBLSAMPL passes the distinguished name (DN) of the user profile with administrator privileges and the DN of the server, and is returned a pointer into the information store. For more information, see Privileged Access to Mailboxes.
To run MBLSAMPL, you must use a profile that has administrator privileges on Microsoft Exchange Server. You can use an existing profile or create a new profile for this application.
For more information about using MAPI functions to create profiles or to manipulate objects in mailboxes, see the MAPI Programmer's Reference.