B
Bingo
How can I run different Apps on the same PC but using
different profiles in either Outlook Object or Mapi?
Thanks.
different profiles in either Outlook Object or Mapi?
Thanks.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Bingo said:How can I run different Apps on the same PC but using
different profiles in either Outlook Object or Mapi?
Thanks.
Bingo said:If I understand you correctly, I can start multiple
copies of the same App, each using a different Outlook
profile as long as I set newSession=TRUE in CDO1.21?
Bingo said:One quick follow-up. I modified your code to test with
two others' profiles. I logged on the network as
myself. When the first session logon is called, a dialog
box pops up asking asking for the uid and password. Once
the logon is verified, the second session logon does not
pop up the dialog. I use two different profiles. Why
does this happen? Thanks.
LogonUser/ImpersonateLoggedOnUser APIs to change-----Original Message-----
Ah, this stuff is only easy as long as all the mailboxes you're trying
to log in to are accessible to the currently logged in user. When that
changes, things get complicated..
I don't quite know why you're getting the login dialog, I don't see
that in my environment so there's something different in your setup, but
what's going on is that when you log in, that thread of execution is now
going to be authenticated as the person you first logged in as.
When you try and log in as the second person from the same thread,
there's two things that can happen -- either it can keep the thread
running as the first user you entered userid/pw for, in which case the
second person won't work -- or it could ask you to re- authenticate as
the second person, which would break the first person's login.
It looks like it's the former that's happening. There's no way around
this -- you can use the
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.