需要管理员权限吗? [英] Need an admin privilage?

查看:161
本文介绍了需要管理员权限吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Exchange Online EWS。当您使用EWS并尝试设置ExchangeServiceBinding设置时,用户是否需要在Exchange服务器上拥有管理员权限?

Code Snippet

解决方案

您好,根据文档,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?

Code Snippet

解决方案

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆