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.PropettyAccessor to read the PR_ACCOUNT
property.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Jason Wang" <(E-Mail Removed)> wrote in message
news:61350126-B16F-4E04-8F32-(E-Mail Removed)...
> Can anyone tell me how to retrieve domain user name after Exchange Email
> account is retrieved from Windows registry outlook profile?