none
how can I get meeting attendee lists from ews using API? RRS feed

  • Question

  • I want to get meeting attendees from EWS using API.

    I got other meeting items but i couldn't get attendee lists.

    I upload my source here ...... from this source i couldn't get attendee

    Is there any other way to get attendee lists???


    FindItemsResults<Appointment> appointments = service.FindAppointments(WellKnownFolderName.Calendar, view);
     service.LoadPropertiesForItems(from Item item in appointments select item, PropertySet.FirstClassProperties);
                   
                           
    for (int i = 0; i < appointments.Items.Count; i++)
     {

                    
                    
       Console.WriteLine("CreatedDate = " + appointments.Items  [i].DateTimeCreated.ToShortDateString());
        Console.WriteLine("CreatedTime = " + appointments.Items[i].DateTimeCreated.TimeOfDay);
         Console.WriteLine("StartDate = " + appointments.Items[i].Start.ToShortDateString());
          Console.WriteLine("StartTime = " + appointments.Items[i].Start.TimeOfDay);
           Console.WriteLine("EndDate = " + appointments.Items[i].End.ToShortDateString());
            Console.WriteLine("EndTime = " + appointments.Items[i].End.TimeOfDay);
            Console.WriteLine("Subject = " + appointments.Items[i].Subject);
             Console.WriteLine("Location = " + appointments.Items[i].Location);
             Console.WriteLine("Attendee = " +appointments.Items[i].RequiredAttendees); // (it doesn't work ) - (Enumeration yielded no results)
              Console.WriteLine("SCH_ATTENDEES = " + appointments.Items[i].Organizer);
               Console.WriteLine("sch.ReminderSet = " + appointments.Items[i].IsReminderSet);
       Console.WriteLine("sch.ReminderMinutesBeforeStart = " + appointments.Items[i].ReminderMinutesBeforeStart);             
          Console.WriteLine("sch.Recurrence = " + appointments.Items[i].Recurrence);


    • Edited by hyeonyeong Thursday, November 8, 2012 7:37 AM
    Thursday, November 8, 2012 7:32 AM

All replies

  • Are you querying the Mailbox of the Organizer of the Meeting your looking at ?

    If you look at the same meeting in Outlook or OWA in the Mailbox your querying do you see attendees ? This is a expected problem if your querying meetings in a Resource Mailbox.

    Cheers
    Glen

    Friday, November 9, 2012 5:17 AM