exchange server - scan the calendar folder of all users

Hi everyone,

                 I need to write a windows service which scans the calendar folder of all the users on the exchange server and prints information.  I followed the example at, and with a bit of tweaking I was able to access the calendar folder. My question is how to scan the calendar folders of all the users and print the necessary information. I have the list of users, now how do I go about scanning their folders. I have access to exchange server and I am using CDOEX. Please point me in the right direction.

Who is Participating?
mrichmonConnect With a Mentor Commented:
Well, one thing I know that has caused us trouble using any method, is that the account you are using must have access to all of the calendars you are looking at.

However, we did not use CDOEX so I can't help much more.
zazenzAuthor Commented:
Thanks for the reply mrichmon, I know what you mean I have seen a vbscript which makes use of MAPI.  and when the admin runs it iterates through all the users.

I need to get it going with cdoex. If it can open a connection with a blank password then I am set.
zazenzAuthor Commented:
I figured out the solution, as mrichmon mentioned I needed access to all the users calendar folder, once my account was given the permissions I was able to access them.
I have a question for you.  Is this still working?

We have found that the patch that just came out - KB 912442 - seems to have broken our applications that do this.  Have you noticed this as well?  If not which permissions did you give your account?  We gave Editor permissions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.