none
Retrieve email address when all I have is the Employee ID RRS feed

  • Question

  • My company uses Outlook with Exchange.  When I type in an Employee Number into Outlook's To: field and hit enter I get the employees email address.  I've been tasked to use Exchange Web Services to write C# code to retrieve the associated employee email address when all I have is the Employee number.  The assumption here is if it happens in Outlook there must be a way to code that functionality.  The C# application only has access to Employee Numbers.

    Is this even possible using EWS?

    I've investigated the ResolveName method of the API but it needs a "name".

    Does any one have sample code to share if this is even possible?

    Much appreciated!

    Thursday, February 8, 2018 10:04 PM