?
Solved

Getting Free/Busy User Status from Microsoft Exchange Server

Posted on 2008-09-30
2
Medium Priority
?
257 Views
Last Modified: 2012-06-27
Hello,

I would like to connect to an Microsoft Exchange Server anf get the Free/Busy status of an specific user at a specific time.
Now after researching a bit, I found this code on the Exchange SDK Help:
   IAddresseePtr iAddr(__uuidof(Addressee));
   iAddr->EmailAddress = userUPN;
   iAddr->GetFreeBusy(startDate, endDate, Interval, bstr_t(), bstr_t(), bstr_t(), bstr_t());

But as far as I understand this, this would mean I have to run my code on the same machine as the exchange server?

How can I do the same from another machine that has Outlook using the Exchange Server but using another User as the one I want the information from?

Thank You!
0
Comment
Question by:hlienert
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
oliver_mk earned 2000 total points
ID: 22650576
You can do that using CDO, and also with the Exchange Web Services (only in Exchange Server 2007).
You don't need to run the code on the Exchange Server machine, you just need CDO installed on that machine. If you use the Exchange Web services you can run it wherever you want. You might need to use some user that has privileges to see other user's info that you are interested.
Here is a very good tutorial for EWS:
http://blogs.visoftinc.com/archive/2008/03/20/Using-Exchange-Web-Services-2007-The-Basics.aspx

and if you use CDO, this is a good site for any kind of info:
http://www.cdolive.com/default.htm

Regards,
Oliver
0
 

Author Closing Comment

by:hlienert
ID: 31501517
Hi!

thank you for the reply, glad someone did at the end. By the way, while waiting for some reply here I found out that Redemption can be used very well for this. It will cost some 100 Dollars if I wanna sell my application.
I also almost managed to get the Information using pure MAPI, but it's really hell!!
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read this checklist to learn more about the 15 things you should never include in an email signature.
Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question