需要管理员权限吗? [英] Need an admin privilage?
问题描述
我正在使用Exchange Online EWS。当您使用EWS并尝试设置ExchangeServiceBinding设置时,用户是否需要在Exchange服务器上拥有管理员权限?
您好,根据文档,ExchangeServiceBinding不能直接使用。
使用ExchangeService代替。没有管理员权限的用户将只能连接到其帐户。
ExchangeService esb = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
esb.Credentials = new WebCredential ("用户","密码","域");
esb.Url = new Uri(" https://server/EWS/exchange.asmx
");
I am working with Exchange Online EWS. When you are using EWS and trying to set the ExchangeServiceBinding settings, does the user need to have an admin privilage on exchange server?
Hi, per documentation ExchangeServiceBinding is not intended to be used directly.
Use ExchangeService instead. User without admin rights will be able to connect to its account only.
ExchangeService esb = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
esb.Credentials = new WebCredential("User", "Password", "Domain");
esb.Url = new Uri("https://server/EWS/exchange.asmx ");
这篇关于需要管理员权限吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!