You'd have to write MAPI code that would start a new session separate from
the Outlook session.
Why not use item-level security in Exchange if you're on Exchange 2000 or
higher? You can set per-user permissions on an item such as read, write,
view, etc.
Tom
--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out
http://www.microsoft.com/MSPress/books/5517.asp
"John Riddle" <jriddleatsignwilsongroupnyperiodcom> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I've asked this question several times in several groups and it continues
> to go unanswered. Can anyone suggest a method of connecting to Exchange as
> a different user than the one currently logged in via script behind an
> Outlook form?
>
> I have a public folder that the users cannot have read access to on the
> exchange server. However, I need the custom form used for contacts to be
> able to search for/display CERTAIN items from this folder. If ANYONE can
> offer a suggestion I would be very grateful.
>
> Requirements:
>
> 1. Folder items cannot be browsable by the users via the folder list in
> Outlook.
> 2. Script behind form must be able to search for/display items from this
> folder in a listbox on the custom form.
> 3. Items displayed in the list must be able to be opened by the users who
> are displaying the form.
> 4. Don't want to call an outside program. Would like to just use VBscript
> and/or CDO, MAPI, WebDAV, etc.
>
> Any suggestions to this problem? Code samples?
>
> Thanks,
>
> John
>