Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

Sync only User Email Folders

$
0
0

Hey guys, 

Is there a way, when calling syncFolderHierarchy - or possibly something else, to filter only for the folders the user has created himself. This would exclude all calendar, notes, default folders like Inbox, Spam, Deleted. 

The best way I've found is just to look at the folder name and compare it to the WellKnownFolderName list of enum values and make sure the folder class is of type "IPF NOTE". This seems pretty hacky, but I don't see another choice. Anyone have a better idea?


Viewing all articles
Browse latest Browse all 7132

Trending Articles



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