none
[E2010] [EWSMA] [C#]: Getting the owener of a public folder RRS feed

  • Allgemeine Diskussion

  • Hi everybody!

    In my Application I'm reading out a list of calendars out of the public folders on a Exchange 2010 (hosted). This part is no problem. But I need to know the owner of each calendar so I get a List of owners. I'm trying the hole day now and I couldn't find anythig about it in the net. I'm shure there must be a property I can read, when I have the folders.

    I created a Exchange Service called "service" and then I try to acess the public folder, respectively the owner of the folder. There is a property called "mailbox" and I bet this is it, but it is always empty.

    // Create a view
                FolderView view = new FolderView(int.MaxValue);
    
    // Identify the properties to return in the results set
                view.PropertySet = new PropertySet(BasePropertySet.FirstClassProperties);
                view.PropertySet.Add(FolderSchema.DisplayName);
                view.PropertySet.Add(FolderSchema.ChildFolderCount);
                view.PropertySet.Add(FolderSchema.FolderClass);
                view.PropertySet.Add(FolderSchema.ManagedFolderInformation);
                
    view.PropertySet.Add(FolderSchema.Id);
    
    folderResults = service.FindFolders(WellKnownFolderName.PublicFoldersRoot, view);
    

    Thanks for help!


    • Bearbeitet Angelo1982 Montag, 27. Februar 2012 15:08
    • Verschoben Alex Pitulice Freitag, 2. März 2012 09:07 Off-Topic English Sprache (aus:Exchange Server)
    • Typ geändert Alex Pitulice Freitag, 2. März 2012 09:08 Off-Topic English Sprache
    Montag, 27. Februar 2012 15:03

Alle Antworten