exchange web services, try exchangeimpersonationtype
i am perplexing ews, initial perplexing exchangeservicebinding. formula i am controlling below:
_service = new exchangeservicebinding();
//_service.credentials = new networkcredential(username, userpassword, this.domain);
_service.credentials = system.net.credentialcache.defaultnetworkcredentials;
_service.url = this.serviceurl;
exchangeimpersonationtype ei = new exchangeimpersonationtype();
connectingsidtype sid = new connectingsidtype();
sid.primarysmtpaddress = this.exchangeaccount;
ei.connectingsid = sid;
_service.exchangeimpersonation = ei;
the concentration an aspnet 3.5 perplexing emanate assign controlling ews. i have attempted impersonation since i know logon user's domain password, i guess impersonation best fit. any thoughts i exercise impersonation? am i sourroundings correctly, i an blunder while perplexing run application. i also attempted but impersonation only try i emanate task, fitness either. any assistance appreciated. thanks.
Comments
Post a Comment