Get Active MAPI Profile

  • Thread starter Thread starter Graham Smith
  • Start date Start date
G

Graham Smith

Hi.

what is the best way to find out what MAPI Profile is currently used?

Thanks again
Graham
 
Extended MAPI: IMAPISession::OpenProfileSection(pbGlobalProfileSectionGuid,
....), then read PR_PROFILE_NAME from the returned IProfSect
CDO 1.21: Session.Name
OOM: can't do that, but <plug>you can use Redemption (url below) - see
MAPIUtils.GetCurrentProfileName and RDOSession.ProfileName</plug>

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