![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I have created an Outlook 2003 addin using VSTO 2005 SE. I need to get shared calendar's owner info. Suppose I have opened a shared calendar of UserA in Outlook. Now I create a calendar item into the shared calendar manually. I need to run a logic based on UserA's display name/email address. How do we get UserA details programmatically? Thanks, Aditya |
Ads |
#2
|
|||
|
|||
![]()
Where would this shared calendar folder be located, in another Exchange
mailbox or a PST file or what? There really isn't any information that's readily available in cases like this, the Exchange properties for store owner and mailbox name won't be there unless the folder is opened as part of a mailbox opened as part of the Outlook profile. A hack would get the StoreID of the shared folder and massage that hex string into an array of ASCII bytes. Part of that array would have the Exchange distinguished name of the folder owner that can be decoded from the array. From there you'd need to translate the Exchange DN into a recipient. You can see the effect by looking at the StoreID property using a MAPI viewer such as MFCMAPI from MS or OutlookSpy (www.dimastr.com) and see what that looks like. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Adi" wrote in message ... Hi, I have created an Outlook 2003 addin using VSTO 2005 SE. I need to get shared calendar's owner info. Suppose I have opened a shared calendar of UserA in Outlook. Now I create a calendar item into the shared calendar manually. I need to run a logic based on UserA's display name/email address. How do we get UserA details programmatically? Thanks, Aditya |
#3
|
|||
|
|||
![]()
Thanks for the reply.
I don't think you can share a calendar on PST. In my case, shared calendar is located in Mailbox of UserA. I got the hack working but I was just wondering there must be a simpler way to get the information like on whose calendar I am creating the meeting. My scenario would be: 1. Open Outlook. 2. Open shared calendar of UserA (Suppose you have create and edit permission on UserA's calendar). 3. Create a new meeting or modify an existing meeting. 4. Save the meeting. At step 4, I need to find out that it is UserA's calendar and take appropriate action. Is there a way to get this information using OOM or MAPI? Thanks, Aditya |
#4
|
|||
|
|||
![]()
In that case you can use the Organizer property on the item after it's
saved. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Adi" wrote in message ... Thanks for the reply. I don't think you can share a calendar on PST. In my case, shared calendar is located in Mailbox of UserA. I got the hack working but I was just wondering there must be a simpler way to get the information like on whose calendar I am creating the meeting. My scenario would be: 1. Open Outlook. 2. Open shared calendar of UserA (Suppose you have create and edit permission on UserA's calendar). 3. Create a new meeting or modify an existing meeting. 4. Save the meeting. At step 4, I need to find out that it is UserA's calendar and take appropriate action. Is there a way to get this information using OOM or MAPI? Thanks, Aditya |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shared Calendar doesn't show name owner in Taskbar | [email protected] | Outlook - Calandaring | 2 | June 12th 07 08:57 AM |
shared calendar's and color | formula | Outlook - Calandaring | 1 | May 4th 07 06:20 PM |
Shared Calendar's and OWA | gary | Outlook - Calandaring | 1 | March 29th 07 07:36 PM |
No Owner info? | Angyl | Outlook - Using Forms | 1 | June 1st 06 06:01 PM |
Any way to notify the Owner(s) of the Shared Calendar when Moves/Adds/Changes/Deletes are made? | David M. Kurtz | Outlook - Calandaring | 1 | February 22nd 06 10:06 PM |