Role assignment using Exchange Web Services is not possible. If you want to do this with a C # application, try running PowerShell cmdlets in C #. Find the RoleGroup cmdlets.
In this thread, you will find some examples of how to execute PowerShell in C #: Powershell command through C # code
source share