none
How to get shared folder list of Calendar RRS feed

  • Question

  • Hi. buddys.

    I'm developing web application from Exchange Web Service

    so. I want to get shared folder in my Treeview.

    first of all.

    I made treeview of user calendar folder list.

    example)

    ExchangeService service = new ExchangeService();
    ExchangeServiceBinding esb = new ExchangeServiceBinding();
    
    service = new ExchangeService(ExchangeVersion.Exchange2010);
    service.UseDefaultCredentials = true;
    service.Credentials = new WebCredentials(pUserID, pPassword, pDomain);
    esb = new ExchangeServiceBinding();
    esb.Credentials = new NetworkCredential(pUserID, pPassword, pDomain);
    
    FolderView view = new FolderView(int.MaxValue);
    
    PropertySet pSet = new PropertySet(BasePropertySet.FirstClassProperties);
    
    view.PropertySet = pSet;
    FolderId parentFolderID;
    
    parentFolderID = "AAMkADM3OWU3MWE2LTg3MDQtNGVhNy05MTEzLWNhMDJkZGU2ZmNmMAAuAAAAAAAH1VD2ikcDRJ02ORHBlp0zAQA+yTdln0izT64gOklzkoHnAAAEATURAAA="; // this is from "IPF.Appointment" of WellKnownFolderName.MsgFolderRoot 
    parentFolderID = new FolderId(strParentFolderID); 
    
    ServicePointManager.CertificatePolicy = new clsSecurity();
    
    FindFoldersResults findResults = service.FindFolders(parentFolderID, view);
    
    

     

    so Finally I can get Calendar folder list.

    but, is is not possible to get Shared Folder from other users.

    Please answer me. ho to get shared folder of Calendar

     

     

     

    Thursday, September 30, 2010 5:55 AM

All replies

  • The MRU lists are relative to the Outlook profile and pc they are being used on http://www.slipstick.com/outlook/mru.htm so EWS doesn't have access to this type of information.

    Cheers
    Glen

    Monday, October 4, 2010 9:02 AM
  • Hi. Glen.

    What do you mean?

     

    You mean it doesn't get other's shared folder list from EWS?

    but, I can see  other's shared folder list on Exchange 2010 OWA.

    IS it just porssible OWA can get it? 

    Tuesday, October 5, 2010 8:56 AM
  • As far as i know there are no EWS operations for enumerating shared folders (there are new operations for creating sharing folder requests in 2010 SP1) you can open up a shared folder using delegate access http://msdn.microsoft.com/en-us/library/bb204081(EXCHG.140).aspx I'm not sure is your question about opening shared folders or enumerating what shared folders are available to a user ?

    One 2010 you have a few more options one method would be you could enumerate the IPM.Microsoft.WunderBar.Link object in the common view folders and if you look at the PR_WLINK_GROUP_NAME property you could then reconstruct the Oulook and OWA shared calendar hierarchies. I would suggest you look at this with a Mapi editor like Outlook Spy of MFC mapi which lets you see the properties available there is also doco on the Wunderbar link on http://msdn.microsoft.com/en-us/library/cc463899%28v=EXCHG.80%29.aspx

    Cheers
    Glen

    Wednesday, October 6, 2010 2:26 AM