Re: Determine programatcially when password needed to logon to Outlook
From: Dmitry Streblechenko \(MVP\) (dmitry_at_dimastr.com)
Date: 01/12/05
- Next message: Dmitry Streblechenko \(MVP\): "Re: PR_MESSAGE_CLASS and IPM.Note.SMIME"
- Previous message: gbutler: "Error creating a private queue on remote machine"
- In reply to: Sam: "Determine programatcially when password needed to logon to Outlook"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Dmitry Streblechenko \(MVP\): "Re: PR_MESSAGE_CLASS and IPM.Note.SMIME"
- Previous message: gbutler: "Error creating a private queue on remote machine"
- In reply to: Sam: "Determine programatcially when password needed to logon to Outlook"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|