T
Thomas Frederiksen
Hello Everybody
Is there any way, once I have an AppointmentItem object referenced, to
get the owner of the calendar in which the appointment resides.
I have looked at various solutions, and I can tell you that they are
not:
1: Using the AppointmentItem.Organizer
---------------------------------------
This will give me the person that created the appointment. I want thew
person that owns the calendar where the AppointmentItem is.
2: AppointmentItem.Parent.Parent.Name
---------------------------------------
This only works if I am in my own calendar. If I use this in a
SharedCalendar it returns something that looks like a EntryID.
Another problem with this solution is that if two people in your
addressbook share the same name, this will return empty string "".
Furthermore its a horrible hack.
3: Attendees.
--------------------------------------
If the appointment has no attendees this wont work.
I really hope someone here have the solution for this problem.
Kind Regards
Thomas Frederiksen
Is there any way, once I have an AppointmentItem object referenced, to
get the owner of the calendar in which the appointment resides.
I have looked at various solutions, and I can tell you that they are
not:
1: Using the AppointmentItem.Organizer
---------------------------------------
This will give me the person that created the appointment. I want thew
person that owns the calendar where the AppointmentItem is.
2: AppointmentItem.Parent.Parent.Name
---------------------------------------
This only works if I am in my own calendar. If I use this in a
SharedCalendar it returns something that looks like a EntryID.
Another problem with this solution is that if two people in your
addressbook share the same name, this will return empty string "".
Furthermore its a horrible hack.
3: Attendees.
--------------------------------------
If the appointment has no attendees this wont work.
I really hope someone here have the solution for this problem.
Kind Regards
Thomas Frederiksen