Quantcast
Channel: Exchange Server 2010 Forum
Viewing all articles
Browse latest Browse all 3147

How to retrieve Share User CategoryList in EWS Managed API

$
0
0

Hi,

How can i retrieve Shared User Calendar Category List when connected with User1.

ServicePointManager.ServerCertificateValidationCallback = CertificateValidationCallBack;
            ExchangeService l_objExchangeService = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
            l_objExchangeService.Credentials = new WebCredentials("user1@domain.com", "password");
            l_objExchangeService.AutodiscoverUrl("user2@domain.com", (a) => { return true; });

var list = MasterCategoryList.MasterCategoryList.Bind(l_objExchangeService);

/* For MasterCategoryList I have used code from following link
 http://www.infinitec.de/post/2011/07/28/Working-with-the-Master-Category-List%E2%80%93EWS-edition.aspx  */
            
 

In above code User2 has shared his/her calendar with User1. I am able to get appointments but didn't find any piece of code to get User2 CategoryList.


Viewing all articles
Browse latest Browse all 3147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>