How To Export Directory Information to a File Using BatchExport (200154)
The information in this article applies to:
- Microsoft Extended Messaging Application Programming Interface (MAPI)
- Microsoft Exchange Development Kit (EDK) 5.0
- Microsoft Exchange Development Kit (EDK) 5.5
This article was previously published under Q200154 SUMMARY
Exporting mailbox information about mailboxes on the messaging system may be required. You can do this programmatically using BatchExport() and passing a few parameters. This article contains the code that demonstrates how to use BatchExport() to write out the mailbox information for all users to the file Test.csv. The program takes two parameters: server and organization name.
REFERENCES
Another example of BatchExport is in the Dirysnc.c sample found on the
Microsoft Developer Network Library.
For additional information, please see the following articles in the Microsoft Knowledge Base: 184268 How To Using DAPIRead 188960 How To Use BatchExport to Specify Which Attributes to Export 186333 How To Programmatically Get List of Exchange Servers in the Org
Modification Type: | Minor | Last Reviewed: | 8/25/2005 |
---|
Keywords: | kbhowto kbMsg KB200154 kbAudDeveloper |
---|
|