Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Would like to get the sAMAccountName or email for the meeting organizer (organizer property of a CalendarItemType object)

$
0
0

Hi,

I am involved in a project to provide room availability on a web page.  Basically, I dump calendar information to a SQL database that our web developers access via PHP to build the page.  the one thing I'm not able to pull fom the calendar object is the organizer's name.I thought the following get me the email address which is unique so a good identifier:

     SingleRecipientType organizerType = cal.Organizer;
     String organizer = organizerType.Item.EmailAddress;

What I got was an empty string.

When I change from the EmailAddress property to the Name Property as follows:

      SingleRecipientType organizerType = cal.Organizer;
      String organizer = organizerType.Item.Name;

I get the display name, which is not necessarily unique.

I need something that uniquely identifies the organizer.  What do I need to do to get the organizer's sAMAccountName (or uid which should be the same) or their email

Thanks,

Rob Tanner

Linfield College


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>