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>
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.