

Include the file AccountHelper.h in your *.h or *.cpp file.Configure your project to link mapi32.lib.AcctMgmt.cpp - Contains the code which actually extracts the account data.

AcctMgmt.h - Contains the CLSID/IID and the property tags declaration.AccountHelper.cpp - Implementation of class CAccountHelper.AccountHelper.h - Contains declaration of class CAccountHelper.AccountData.h - Contains class to hold the account data.If you want to skip the technical details and just want to use the feature, follow these steps: Moreover, not all the properties of the account are documented by Microsoft. The reason for writing this article is that Microsoft didn't provide a header file for the interface used. This article shows how to use the Account Management APIs to get email accounts configured in Outlook.
