Lookup delegate/delegator

M

Mike Silver

I need to find out if one exchange user is delegator of another exchange user
programmatically. I can use CDO, ADSI. But I can't find any information about
it.

My second option would be from UI. Just have the first user (delegate) open
his/her delegator's calender from OutLook, but then I couldn't dynamicly find
out the delegator's Exchange Id from from my custom Outlook form code.

Any suggestiong on this will be greatly appreciated!

Please return to (e-mail address removed)
Thanks.
 
S

Sue Mosher [MVP-Outlook]

You first need to define what you're looking for. A "delegate" may have one
or both of two characteristics -- 1) permissions on specific folders in
another user's mailbox, information you can access with CDO 1.21 (code
samples at http://www.cdolive.com) and/or 2) the Send On Behalf Of or Send
As permission on the mailbox account itself, which ADSI should be able to
give you.
 
M

Mike Silver

Sue,
Thank you very much for the response. Here is what I am looking for. We have
a custom appointment form. When a Outlook user, user A, open another user's
calendar, (File -> Open -> other user's folder), then double click the
calendar, I need to open a custom form, on that form, I want to identify the
second user's exchange alias.
Currently I found two problem with this apprach:
1. Double click user B's calendar doesn't open custom form, even though it
is associated with both user A and B's calendar as default form.
2. My code (VB Script) on the form can't get user B's identity.

If the first approach won't work, my second plan is this. User A opens the
custom form, changes the owner of the form. (we have a owner button on the
form), after user A change the owner, we need to find out if the selected
owner a delegator of current user. This could be done either on the form or
by aksing a middleware piece written in VB 6, and the communication is XML.
For this approach, I have no idea how to check the delegator status neither
on form or from the middleware.
Thanks!
John
 
M

Mike Silver

Sue,
I got a handle on the approach 1, questiong 1, "Double click user B's
calendar doesn't open custom form... " By posting the custom form into
Organizational form lib, by custom form can be openned.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top