View Single Post
  #2  
Old October 23rd 07, 09:24 PM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default How to get current user name and email address

Use the IOlkAccountManager interface and retrieve the default e-mail
account.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Ivan" wrote in message
...
I retrieve current user name and email (from account settings) using
spIMAPISession-QueryIdentity(..);
and reading properties PR_EMAIL_ADDRESS and PR_DISPLAY_NAME.
But in OL XP I cannot get these values.
Are there any ways to get the values in OL XP?



Ads