读取Exchange2010 sp1 用户未读邮件数

参考:http://lloydsheng.com/2010/03/exchange-webservice-managed-api.html

1.安装 Exchange Web Services Managed API,当前版本1.1          

2.授权一个账户有模拟其他用户的权限,打开Exchange 2010 服务器在命令行中输入

  New-ManagementRoleAssignment -Name:impersonationAssignmentName -Role:ApplicationImpersonation -User:serviceAccount
 serviceAccount:就是我们要模拟其他人的账户
///////////////////////////////////////////////////////////////////////////////////////

 
image  
原文地址:https://www.cnblogs.com/ruijian/p/1945454.html