PRB: IExchangeManageStore::GetMailboxTable Doesn't Return PR_ENTRYID

ID: Q216420


The information in this article applies to:


SYMPTOMS

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


CAUSE

IExchangeManageStore::GetMailboxTable returns the following properties:

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 kbEDK500 kbEDK550 kbGrpMsg 
Version           : WINDOWS:5.0,5.5
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 26, 1999