View Single Post
  #2  
Old July 11th 08, 01:33 AM posted to microsoft.public.outlook.program_addins
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default retrieve domain user name

On the MAPI level, you will need to retrieve the PR_ACCOUNT property
(0x3A00001E) from the IMailUser object opened using the entry id returned by
IMAPISession::QueryIdentity().
If you are using Outlook 2007, you can use
Namespace.CurrentUser.AddressEntry.PropettyAccesso r to read the PR_ACCOUNT
property.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Jason Wang" wrote in message
...
Can anyone tell me how to retrieve domain user name after Exchange Email
account is retrieved from Windows registry outlook profile?



Ads