T
Tony Gravagno
I'm writing a Windows Service that retrieves appointment data from a
separate application, and it posts this data into the calendar for
individual exchange users. I'm using PIA with C# for all work so far
and it seems OK. The problem is ensuring I'm posting new appointments
to the right folders. I can easily open the default calendar folder
in a PST, but I don't know the approach for Exchange.
One of the admin users manually opens other people's calendars in his
own client instance. I'm wondering what the best technique would be
for doing this programmatically. How do I discover what accounts are
available and then attach to their shared calendar?
Do I need to .Login to a user to post to their folder? Is the
password required? (They're using active directory.) Once I login
I'm sure I can use the user's namespace to navigate to their calendar.
We could setup Outlook on the server running this process so that it
is aware of all calendars that it needs to update, then I think
posting to a folder would be as simple as doing a lookup on the local
namespace for a folder with the user name. But there are (at least)
two issues here: 1) I'd rather not have to put someone through that
manual exercise. 2) I don't know how I would translate a Windows user
ID to a name as we see when we look under "Other Calendars" when
sharing - I guess I'd have to store that name and use it as the folder
name when doing the search.
I hope that's not too confusing.
Thanks!
separate application, and it posts this data into the calendar for
individual exchange users. I'm using PIA with C# for all work so far
and it seems OK. The problem is ensuring I'm posting new appointments
to the right folders. I can easily open the default calendar folder
in a PST, but I don't know the approach for Exchange.
One of the admin users manually opens other people's calendars in his
own client instance. I'm wondering what the best technique would be
for doing this programmatically. How do I discover what accounts are
available and then attach to their shared calendar?
Do I need to .Login to a user to post to their folder? Is the
password required? (They're using active directory.) Once I login
I'm sure I can use the user's namespace to navigate to their calendar.
We could setup Outlook on the server running this process so that it
is aware of all calendars that it needs to update, then I think
posting to a folder would be as simple as doing a lookup on the local
namespace for a folder with the user name. But there are (at least)
two issues here: 1) I'd rather not have to put someone through that
manual exercise. 2) I don't know how I would translate a Windows user
ID to a name as we see when we look under "Other Calendars" when
sharing - I guess I'd have to store that name and use it as the folder
name when doing the search.
I hope that's not too confusing.
Thanks!