How To Use the HrMailboxLogon Function (203858)
The information in this article applies to:
- Microsoft Exchange Server 5.5
This article was previously published under Q203858 SUMMARY
The Exchange Development Kit (EDK) HrMailboxLogon function takes a pair of parameters for both the server name and the mailbox name. The documentation on the HrMailboxLogon function is misleading.
According to the documentation on the HrMailboxLogon function, both the message store (lpszMsgStoreDN) and the mailbox (lpszMailboxDN) parameters are distinguished names, in the form of the following:
/O=Organization/OU=Site/CN=Servers/CN=ServerName/CN=NULL
/O=Organization/OU=Site/CN=Container/CN=MailboxName
However, the last leaf of the message store name parameter cannot be a NULL value. If the HrMailboxLogon function is executed as the documentation suggests, it fails with the following error message:
0x80004005: Unspecified Error
REFERENCESFor additional information about HrMailboxLogon code samples, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
194627 How To Open Mailboxes with Privileged Access
200160 How To Loop Through Mailboxes on Exchange Using GetMailboxTable
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbdocfix kbhowto kbMsg KB203858 |
---|
|