Kbase P8002: How to retrieve the name of the default MAPI profile
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/19/2003 |
|
Status: Unverified
GOAL:
How to retrieve the default profile required for the MAPI Logon method
FIX:
The Logon method requires a profile to log on the MAPI system:
objSession.Logon( [profileName] [, profilePassword] [, showDialog] [,
newSession] [, parentWindow] [, NoMail] [, ProfileInfo] )
The default profile may be retrieved in the registry:
On Windows 2000:
HKEY_CURRENT_USER
Software
Microsoft
Windows NT
CurrentVersion
Windows Messaging Subsystem
Profiles
or on Windows 9x
HKEY_CURRENT_USER
Software
Microsoft
Windows Messaging Subsystem
Profiles
The GET-KEY-VALUE statement can be used in order to read this key.