Re: Determine programatcially when password needed to logon to Outlook

From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 01/12/05


Date: Wed, 12 Jan 2005 13:37:31 -0700

The prompt is displayed if the current user credentials cannot be used to
log on to a particular mailbox.
I don't think there is much you can do in VBA, as you need to access the
profile info to figure out which Windows user own the mailbox that you are
about to log on to and retrieve the current user name/domain using Windows
API.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Sam" <jordan23@newsgroup.nospam> wrote in message
news:08A1F07D-3DDB-4EAC-A492-9C462CEBB36E@microsoft.com...
> Hi,
>
> I'm trying to determine whether an Outlook 2002/2003 client on Windows
> 2000/XP needs to enter a password before trying to use the Outlook object
> model to logon. I know if Exhange Server (I'm not sure what version yet)
is
> used Windows 2000/2003 server credential are used and no password is
needed
> to logon. So I need a way to do the following.
>
> 1. Determine the scenarios when Exchange is used and a password is not
needed
> 2. Determine how to handle offline-line usage when these clients are
> disconnected from Exchange Server/Windows Server.
>
> P.S. I writing in Visual Basic 6 and VBA.
>
> Thanks for your help!
> --
> Samuel Bart-Williams
> Senior Software Engineer
> ViaNovus



Relevant Pages

  • Re: << SBS news for the week of February 1, 2004>>
    ... > 829358 Overview of the Critical Update for SQL Server 2000 Desktop Engine ... > 831747 Overview of the Business Contact Manager for Outlook 2003 Update: ... > 829114 How to remove and how to install the Windows Small Business Server ... > 831664 "The requested media failed to mount" error message when you try to ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Offline Files -- & -- Migration Strategy
    ... So your mail is delivered to a mailbox on your MailSite server, ... Outlook, running on your desktop PC, retrieves it using POP, right? ... just configure Exchange to be the SMTP server as in a normal SBS ...
    (microsoft.public.windows.server.sbs)
  • RE: DST update for Exchange 2003 and Outlook 2003
    ... "On the terminal server, run the TZMOVE.EXE that you downloaded. ... install a file named TZMOVE.EXE along with a TZMOVE.DLL under your Outlook ... On the terminal server you mentioned, log in as a user with full mailbox ...
    (microsoft.public.exchange.admin)
  • << SBS news for the week of February 1, 2004>>
    ... - Commerce Server 2000 and 2002 ... 831747 Overview of the Business Contact Manager for Outlook 2003 Update: ... 829114 How to remove and how to install the Windows Small Business Server ... 831664 "The requested media failed to mount" error message when you try to ...
    (microsoft.public.backoffice.smallbiz)
  • Re: Outlook mail and moving to SBS2k3
    ... For Outlook users: Open Outlook and you'll see only the welcome ... contents of the user's existing Outlook mailbox (which is contained in a PST ... Set the default delivery location to the server mailbox, ... My best advice would be to use Exchange to pick up the messages rather than ...
    (microsoft.public.windows.server.sbs)

Loading