Is it possible to assign roles using the Exchange web services in c#?

走远了吗. 提交于 2019-12-22 08:46:10

问题


Is it possible to assign roles using the Exchange web services in c#? Like you programatically automate of adding the role ApplicationImpersonation and assign the role to the users in Office 365 Exchange?


回答1:


Assigning roles using Exchange web services is not possible. If you wish to do this through a C# application, try executing PowerShell cmdlets in C#. Look for "RoleGroup" cmdlets.

This thread will give you some examples on how to execute PowerShell in C#: Powershell command through C# code



来源:https://stackoverflow.com/questions/17466038/is-it-possible-to-assign-roles-using-the-exchange-web-services-in-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!