[E2010] [EWSMA] [C#]: Getting the owener of a public folder
-
Wednesday, March 07, 2012 8:47 AM
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!
- Moved by Neddy Ren Thursday, March 08, 2012 5:55 AM (From:Visual C# General)
All Replies
-
Wednesday, March 07, 2012 4:24 PM
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$_"})- Marked As Answer by Angelo1982 Friday, March 09, 2012 8:04 AM
-
Wednesday, March 07, 2012 4:51 PM
Ohh, thanks!
I think finally I found the correct forum.
Greets
Angelo
-
Thursday, March 08, 2012 5:55 AM
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

