Can I determine if an item is in a shared calendar?

  • Thread starter Thread starter Tadwick
  • Start date Start date
T

Tadwick

Given an item object, can I programmatically determine if it belongs to the
current user or is in a shared folder?
 
If you are using Outlook 2007, read the Parent property (returns MAPIFolder
object), then read the MAPIFolder.Store.ExchangeStoreType property - check
whether it is olPrimaryExchangeMailbox vs olExchangeMailbox.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Thanks, Dmitry - I will try that

Dmitry Streblechenko said:
If you are using Outlook 2007, read the Parent property (returns MAPIFolder
object), then read the MAPIFolder.Store.ExchangeStoreType property - check
whether it is olPrimaryExchangeMailbox vs olExchangeMailbox.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Back
Top