Thanks, I knew it had to be easy. Is there any way to do this with the
Outlook object model (WITHOUT CDO), or can I use CDO with Outlook to get the
name of the profile the user is CURRENTLY logged on with (I don't want to
start another session.) Thanks for the help!
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.
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.
Correct, that login will use an existing Outlook session with no logon
dialog shown.
Ask a Question
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.