[E2010] [EWSMA] [C#]: Getting the owener of a public folder
-
Mittwoch, 7. März 2012 08:47
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 an 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!
- Verschoben Neddy Ren Donnerstag, 8. März 2012 05:55 (From:Visual C# General)
Alle Antworten
-
Mittwoch, 7. März 2012 16:24
You might get a quicker answer in the Exchange Development forum:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Karl
My Blog: http://unlockpowershell.wordpress.com
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})- Als Antwort markiert Angelo1982 Freitag, 9. März 2012 08:04
-
Mittwoch, 7. März 2012 16:51
Ohh, thanks!
I think finally I found the correct forum.
Greets
Angelo
-
Donnerstag, 8. März 2012 05:55
yeap, Karl has provided the correct forum.
I will help you move the thread to the off-topic forum.
Thank you for understandings.
Best Regards
Neddy Ren[MSFT]
MSDN Community Support | Feedback to us

