Platform SDK: Exchange Server |
A server application with a MAPI profile can initiate a MAPI session. This enables it to perform actions such as managing mailboxes or creating public folders. A MAPI profile also lets administrators log on as the application to view any messages it may have received.
The server application — not its setup program — calls the function that actually creates the MAPI profile. This is done because the profile must be created in the security context of the server application, which may not be the same as the security context of a running setup program. It is advisable to first call the HrMAPIProfileExists function to check for an existing profile of the name you plan to use for the server application's new profile.