![]() |
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,
In my addin I need to know under which profile the user have logged in. To clarify - the user has 2 different profiles, used to login to different Exchange users. I need to detect in the addin which profile the user is using. Any ideas? Thanks Sunny |
#2
|
|||
|
|||
![]()
Nothing really in the Outlook object model for that. If you are using CDO
1.21 you can use Session.Name to get the profile name or with Redemption (www.dimastr.com/redemption) you can use RDOSession.ProfileName or MAPIUtils.CurrentProfileName. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Sunny" wrote in message ... Hi, In my addin I need to know under which profile the user have logged in. To clarify - the user has 2 different profiles, used to login to different Exchange users. I need to detect in the addin which profile the user is using. Any ideas? Thanks Sunny |
#4
|
|||
|
|||
![]()
I don't follow. StoreID has nothing to do with profile names. If you can get
a store in the API you're using you'd use StoreID for that and you can tell if folders are in different stores by comparing StoreID but that still won't get you the profile name. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Sunny" wrote in message ... In article , says... Nothing really in the Outlook object model for that. If you are using CDO 1.21 you can use Session.Name to get the profile name or with Redemption (www.dimastr.com/redemption) you can use RDOSession.ProfileName or MAPIUtils.CurrentProfileName. Thanks Ken, how do you think, is StoreID going to help in that? I just need to make the difference between the calendar items, stored in either of the profiles? Sunny |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error creating an MAPI session | Dominique Schroeder | Outlook - Using Forms | 1 | March 7th 06 02:25 PM |
Can outlook2000 connect 2 mail account at the same time ? | man | Outlook - Installation | 1 | March 1st 06 09:09 AM |
Autofill not working in Terminal Session | jcharde | Outlook - General Queries | 0 | February 22nd 06 09:27 PM |
limit number of messages sent in 1 session | Andrew Zenz | Outlook - General Queries | 2 | February 15th 06 06:53 PM |
an outlook2000 macro programming question..... | Alont | Outlook - General Queries | 0 | January 8th 06 03:14 AM |