模拟例外:该帐户无权模拟所请求的用户 [英] Impersonation Exception : The account does not have permission to impersonate the requested user

查看:258
本文介绍了模拟例外:该帐户无权模拟所请求的用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试运行以下代码时,我得到"该帐户没有权限冒充所请求的用户"例外。 " EMAILADDRESS" user对邮箱的权限为" impersonatedEmailAddress"用户。
when i try to run the following code, i get "The account does not have permission to impersonate the requested user " exception. "emailaddress" user has Permissions to mailbox of "impersonatedEmailAddress" user.

推荐答案



我们需要确保我们拥有EWS模拟所需的权限根据下面提到的文章:


配置Exchange模拟(Exchange Web服务)

http://msdn.microsoft.com/en-us/library/bb204095.aspx

使用Exchange模拟(Exchange Web服务)

http://msdn.microsoft.com/en-us/ library / bb204088.aspx

问候,

Brij Raj Singh

Brijs Blogging ... 超越明显的

Regards,

Brij Raj Singh

? Brijs Blogging... Looking Beyond the Obvious


这篇关于模拟例外:该帐户无权模拟所请求的用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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