PC Review


Reply
Thread Tools Rate Thread

retrieve domain user name

 
 
Jason Wang
Guest
Posts: n/a
 
      10th Jul 2008
Can anyone tell me how to retrieve domain user name after Exchange Email
account is retrieved from Windows registry outlook profile?
 
Reply With Quote
 
 
 
 
Dmitry Streblechenko
Guest
Posts: n/a
 
      11th Jul 2008
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?



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
retrieve record by domain user using querystring Tony WONG Microsoft ASP .NET 1 31st Oct 2008 10:03 AM
Retrieve Domain User Info tjonsek@phenom-biz.com Microsoft ASP .NET 5 8th Dec 2005 07:43 AM
Allow a domain user to change local permissions on domain machineswithout allowing full rights on domain controllers none Microsoft Windows 2000 Active Directory 1 5th Aug 2005 06:36 AM
How to retrieve user's domain correctly? =?Utf-8?B?V05D?= Microsoft Dot NET Framework 6 17th Sep 2004 05:14 PM
How to retrieve domain user name in macro Terence Microsoft Excel Programming 1 11th Aug 2003 09:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:41 PM.