Hi List, I've pushed in r820 some code which provides access to users FreeBusy data and let you retrieve and dump it. A preliminary implementation has been added to openchangeclient:
======
$ openchangeclient --pf --freebusy=Adm
FreeBusy (USER-/CN=RECIPIENTS/CN=ADMINISTRATOR):
* FreeBusy Last Modification Time: Mon Oct 20 16:12:00 2008 CEST
* FreeBusy Publishing Start: Wed Oct 1 00:00:00 2008 CEST
*FreeBusy Publishing End: Mon Dec 1 00:00:00 2008 CET
* Busy Events:
* October 2008:
* 29 October 2008 at 9 hours and lasts 30 minutes
* November 2008:
* 12 November 2008 at 14 hours and lasts 30 minutes
* Tentative Events:
* October 2008:
* 30 October 2008 at 14 hours and lasts 2 hours
* Out Of Office Events:
* October 2008:
* 29 October 2008 at 13 hours and lasts 3 hours and 30
minutes
freebusy : MAPI_E_SUCCESS (0x0)
=======
The code does username lookup but doesn't handle yet ambiguous names.
For example if I have Administrator and Administrator2, looking for
Administrator would have failed.
I've added a new libmapi/freebusy.c file with a convenient function
which will fetch common FreeBusy data for a given user
(GetUserFreeBusyData) + a set of convenient routines to calculate and
dump freebusy information on stdout in libmapi/mapidump.c.
The remaining task for freebusy is to provide a method which will update
the FreeBusy data for the user adding/modifying or deleting a calendar
event.
Note that the current implementation only works with Exchange 2003 and
below, and Exchange 2007 SP1 if Public Folder store has been enabled.
I'll have a look at the new FreeBusy mechanism introduced in Outlook
2007.
Finally I've pushed a OpenUserMailbox function which takes a username
parameter and let you log and open other users mailboxes folders - if
you have the permissions to do so.
Cheers,
Julien.
--
Julien Kerihuel
[EMAIL PROTECTED]
OpenChange Project Manager
GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
