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

T

Tadwick

Given an item object, can I programmatically determine if it belongs to the
current user or is in a shared folder?
 
D

Dmitry Streblechenko

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
-
 
T

Tadwick

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
-
 
D

Dmitry Streblechenko

Hmmm.. So when you get Null from Folder.Store, you have a delegate folder...

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top