T
Tom Winter
How can I determine the name of the currently logged on profile using the
Outlook object model (2000 or later) and/or CDO? Thanks!
Outlook object model (2000 or later) and/or CDO? Thanks!
Ken Slovak - said:Outlook.Application.Session only returns "MAPI" so you'd have to use CDO for
this. If you use a piggy-back logon to CDO you would get the currently
running profile name.
oCDO.Logon "", "", False, False
Of course Outlook has to be running to use a logon like that.