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

Can I use ExchangeService.ResolveName to search for exact match of sAMAccountName?

$
0
0

Hello,

In my web application, I have the sAMAccountName of my logged-in user. I need to get user's display name and email address. When I search for sAMAccountName by using ExchangeService.ResolveName , the search logic is something like begin-with, so it might return more than one match.

Is there any reliable way to use EWS and get user's Display name  based on "DomainName\sAMAccountName" ?

Thank you,


Viewing all articles
Browse latest Browse all 7132

Trending Articles



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