anothers user's calendar

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

Situation:
USER A has opened in Exchage enviroment USER B's calendar
My script gets the folder object by
Application.ActiveExplorer.CurrentFolder
By Fld.Name the script gets the nme of the folder.
But how can the script get "USER B" as the "owner" of the calendar?

P.S. I can not assume that CDO is installed on the system.

Thanks

J. Thelen
 
One hack you can use is to get the StoreID of that Calendar folder and
convert the string value into a byte array. Then convert back to string
characters so you get text values instead of the hex. Inside the StoreID
would be the string "EMSMDB.DLL" that indicates it's an Exchange store.
There also would be the Exchange distinguished name for the mailbox, which
would end in something like: "/cn=EXalias" where EXalias is the name of the
mailbox.

Look over the StoreID's for some different mailbox using a MAPI viewer such
as OutlookSpy (www.dimastr.com) and view the Text tab for the property value
to see what I mean.
 
Very cool, Sue. I've been using the technique for years. It's very useful.




I posted a StoreID hacking code sample just this week --
http://www.outlookcode.com/codedetail.aspx?id=1434

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top