retrieve domain user name

  • Thread starter Thread starter Jason Wang
  • Start date Start date
J

Jason Wang

Can anyone tell me how to retrieve domain user name after Exchange Email
account is retrieved from Windows registry outlook profile?
 
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
-
 
Back
Top