Finding Owner of Shared Calendar using C#

B

Bill Smith

I am writing a C# plugin that needs to find the owner of a shared calender.

I have Editor access to 3 other peoples calendars plus my own. If I create
an appointment in my own calendar, this code:

(AppointmentItem)ai.FullFolderPath

yeilds \\Mailbox - Smith, Bill\Calendar

which is great because I can figure out the name from that.

But if I create the appointment in one of the other calendars,
FullFolderPath returns a long string like:
"00000003467238743827283782787382738212000100202994"....
which looks like an EntryID.

If I programmatically open that person calendar folder and get the
FullFolderPath, the string is different. I think I have to call CompareIDs
to have CDO determine if these two entry IDs actually point to the smae
object. But in the C# Outlook libaries, I cant find CompareIDs anywhere.

Can someone please help on this? (Or perhaps another way to find the owner
of a shared calendar?)

Thanks
 

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