none
How to Identify the intended recipient of a delegate meeting ? RRS feed

  • Question

  • Hi,

    This thing has been messing with my head for quite some time now .

    User A - Sets User B as delegate.

    I would like to distinguish two kind of meeting:

    • Intended to the user personally (Meeting sent to USER B)
    • Intended for the Main User (Meeting sent to USER A)

    I Have tried a lot of things but there is no field in the MeetingItem or the corresponding AppointmentItem that helps to identify this , but somehow outlook conveniently shows the message
    “Received for <USER A>”

    Am I missing something here?
    I am getting the information if I open it from the calendar!.. But I intend to this from the inbox.
    And I am not getting any help at any forum too..

    Any Help would be appreciated.

    Thanks,
    Arjun


    --Arjun (-|-)ZzzzZZzzz ...

    Friday, March 1, 2013 5:47 AM

Answers

  • Hi Arjun_KT,

    I've seen that the thread which is similar to yours has been resolved.

    The solution can be seen as follows.

    What version of Outlook are you using?  When I do the following it all works:

    1. Create a User A
    2. Create a User B
    3. Make User B a delegate of User A.  Make sure to include for User B to receive meeting requests for User A
    4. Send a meeting to User A
    5. Use my code against the meeting item in my Inbox
    6. Get the recipient details of User A using the steps I provided in my second post above.  Note: You should call MeetingItem.GetAssociatedAppointment

    Dave

    Hope it helps.

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, March 14, 2013 7:08 AM
    Moderator

All replies

  • Hi Arjun,

    Thank you for posting in the MSDN Forum.

    Is your issue similar to this one?

    I'll consult your issue with my colleague. You'll be informed if there's any update.

    Thank you for your patience and understanding.

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, March 4, 2013 11:38 AM
    Moderator
  • Hi Zhang,

    The issue is the same I guess, I am primarly looking for "To Whom the Appointment was ACTUALLY sent" . I am having no luck with this task :( ..

    Regards,
    Arjun


    --Arjun (-|-)ZzzzZZzzz ...

    Monday, March 4, 2013 12:33 PM
  • Hi Arjun_KT,

    Thank you for your last reply.

    I've involved an expert into that thread. The below is his reply quoted from that thread.

    Hi,

    I am not sure I truly understand your question but based on the title I suspect that you are trying to access an appointment item or a meeting item on a shared calendar and trying to map that back to the owner of the appointment / meeting item.  If that is indeed your question you can do the following to figure out the shared calendar owner:

    1. Get the parent item (should be a folder) of the appointment / meeting item

    2. Retrieve the StoreId property of the parent item.

    3. Convert the HexString StoreId to readable string.  The StoreId property is a hex string that will contain, among other things, the Exchange Legacy DN (e.g. /o=First Organization/ou=First Administrative Group/cn=Recipients/cn=John Doe)  of the owner of the shared calendar.

    4. Find the Exchange Legacy DN within the string.

    5. Map that back to a recipient within your organization

    Hope that helps,

    Dave

    Hope it helps.

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, March 11, 2013 12:34 PM
    Moderator
  • Hi Arjun_KT,

    I've seen that the thread which is similar to yours has been resolved.

    The solution can be seen as follows.

    What version of Outlook are you using?  When I do the following it all works:

    1. Create a User A
    2. Create a User B
    3. Make User B a delegate of User A.  Make sure to include for User B to receive meeting requests for User A
    4. Send a meeting to User A
    5. Use my code against the meeting item in my Inbox
    6. Get the recipient details of User A using the steps I provided in my second post above.  Note: You should call MeetingItem.GetAssociatedAppointment

    Dave

    Hope it helps.

    Best regards,


    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, March 14, 2013 7:08 AM
    Moderator
  • Hi Zhang,

    Thank you, this is exactly what i was looking for. It really helped me ..
    Sorry for replying this late.

    Regards,
    Arjun


    --Arjun (-|-)ZzzzZZzzz ...

    Thursday, March 28, 2013 9:49 AM