Exchange Web服务托管API:访问其他用户的项目 [英] Exchange Web Services Managed API: Accessing other users items

查看:203
本文介绍了Exchange Web服务托管API:访问其他用户的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是不是有可能访问其他交易所的文件夹和项目账户以外的其他登录的用户吗?

Is it possibly to access the folders and items of other Exchange accounts other than the one of the logged in user?

我可以通过Exchange Web服务托管API这样做呢?

Can I do this via Exchange Web Services Managed API?

推荐答案

是的,它是可能的,但你应该知道其他用户或抢在某些方面,这凭据(的NetworkCredential )对象的密码。你的代码的典型的第一行可能是

Yes it is possible, but you should know the password of the other user or grab in some ways this credentials (NetworkCredential object). The typical first lines of you code could be

ExchangeService myService = new ExchangeService (ExchangeVersion.Exchange2007_SP1);
myService.Credentials = new NetworkCredential ("user@mycorp.local", "P@ssword00");



这样你就可以与其他的是由于当前用户帐户访问Exchange服务器的Web服务。请参见 ExchangeService对象说明以获取更多信息。

so you can access Exchange Server Web Services with the account which is other as the current user. See ExchangeService object description for more information.

如果你是一个管理员可以使用户的模拟通过SMTP地址

If you are an admin you can make user impersonation by SMTP address.

这篇关于Exchange Web服务托管API:访问其他用户的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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