
Originally Posted by
bgibby
So here are my questions:
1. Can I progmatically log in as Admin, then create a calendar event for someone's calendar without knowing that user's password?
yup

Originally Posted by
bgibby
Both.
From soap-admin.txt, auth to the admin interface:
Code:
<AuthRequest xmlns="urn:zimbraAdmin">
<name>...</name>
<password>...</password>
</AuthRequest>
<AuthResponse>
<authToken>...</authToken>
<lifetime>...</lifetime>
</AuthResponse>
Note: Only works with admin/domain-admin accounts
Then get an auth token (also on the admin interface) for the account you want with:
Code:
<DelegateAuthRequest xmlns="urn:zimbraAdmin" [duration="{duration}"]>
<account by="id|name">...</account>
</DelegateAuthRequest>
<DelegateAuthResponse>
<authToken>...</authToken>
<lifetime>...</lifetime>
</DelegateAuthResponse> Then use a CreateAppointmentRequest (with the delegate auth token) to create your meeting. Read soap-calendar.txt.

Originally Posted by
bgibby
I'm writing this application in Perl and will provide an explanation to anyone else who's interested when I'm done so any info you can give to me on this would be extremely helpful!
Thanks everyone!
For soap over perl, look in /opt/zimbra/libexec for some simple scripts (eg, zmpurgemessages) that get an auth token and make requests. Also, they include all the perl/soap libs, so that may help.