Microsoft KB Archive/216420

= PRB: IExchangeManageStore::GetMailboxTable Doesn't Return PR_ENTRYID =

Article ID: 216420

Article Last Modified on 3/4/2004

-

APPLIES TO


 * Microsoft Exchange Development Kit 5.5
 * Microsoft Exchange Server 2003 Software Development Kit

-



This article was previously published under Q216420



SYMPTOMS
You cannot uniquely identify a mailbox across space and time when calling IExchangeManageStore::GetMailboxTable.



CAUSE
IExchangeManageStore::GetMailboxTable returns the following properties:
 * PR_DISPLAY_NAME
 * PR_EMAIL_ADDRESS
 * PR_LOCALE_ID
 * PR_MESSAGE_SIZE
 * PR_MESSAGE_SIZE_EXTENDED
 * PR_CONTENT_COUNT
 * PR_ASSOC_CONTENT_COUNT
 * PR_NT_USER_NAME
 * PR_LAST_LOGON_TIME
 * PR_LAST_LOGOFF_TIME
 * PR_STORAGE_LIMIT_INFORMATION
 * PR_INSTANCE_KEY

Of the above properties, the one that most closely resembles a Globally Unique Identifier is PR_INSTANCE_KEY. While this property is a MAPIUID property, it is not guaranteed to be the same value every time IExchangeManageStore::GetMailboxTable is called.



RESOLUTION
In most cases the only property that is guaranteed to be unique and stable across space and time is PR_ENTRYID. Unfortunately, this property is not returned with IExchangeManageStore::GetMailboxTable. As an alternative to PR_ENTRYID, it is possible to use PR_EMAIL_ADDRESS. Like PR_ENTRYID, this property is guaranteed to be globally unique and stable across space and time.

Additional query words: kbGrpMsg kbMsg kbEDK500 kbEDK550

Keywords: kbmsg kbprb KB216420

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.