A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Passwords in MAPI



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 11th 09, 06:44 AM posted to microsoft.public.outlook.program_addins
Daman
external usenet poster
 
Posts: 1
Default Passwords in MAPI

I am testing the waters in MAPI and the first thing is I hit a wall regarding
passwords.

1. How do I open a .pst file which has been password protected ? How do I
pass along the password so that no UI dialogs are thrown which asks for the
password ?

2. How do I login into the Exchange server, using an AD account and passing
the password for that AD user, again, without the UI dialog for a password
being thrown at me ?

Can anyone guide me through these points ?

Thanks in advance !!!
Daman

Ads
  #2  
Old February 11th 09, 12:46 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 24
Default Passwords in MAPI

On Feb 11, 1:44*am, "Daman" u49522@uwe wrote:
I am testing the waters in MAPI and the first thing is I hit a wall regarding
passwords.

1. How do I open a .pst file which has been password protected ? How do I
pass along the password so that no UI dialogs are thrown which asks for the
password ?

2. How do I login into the Exchange server, using an AD account and passing
the password for that AD user, again, without the UI dialog for a password
being thrown at me ?

Can anyone guide me through these points ?

Thanks in advance !!!
Daman


1. When creating the PST message service, set the property
PR_PST_PW_SZ_OLD (defined in mspst.h)

2. Launch your MAPI process in the context of the AD user that has
access to the account, e.g. through CreateProcessWithLogonW
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passwords Orlin Toribio Outlook Express 0 July 2nd 08 02:14 PM
Passwords Orlin Toribio Outlook Express 0 June 29th 08 09:44 PM
Passwords Orlin Toribio Outlook Express 0 June 29th 08 09:44 PM
Passwords Ann Smith Outlook Express 0 May 7th 08 11:13 PM
Passwords Dan X Outlook Express 1 December 26th 06 06:52 PM


All times are GMT +1. The time now is 08:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.