views:

413

answers:

3

Hi,

I am making one application where i am reading mails from Lotus Notes. I have made this application interdependent of Domino Server.

But in this case.If user's Lotus Notes's is configured with Domino server.It shows pop-up for password.

I don't want to show pop-up.And don't want to add text box into UI.

Is there anyway to get NSF Password Programaticaly? Using Domino.dll.

+1  A: 

I don't think there is a API function to retrieve a Domino password.

There is an API function to RESET the password, but the old password is a parameter.

Shaun

ShaunLMason
A: 

Of course you can't do this. The password is not stored anywhere, but is used to gain access to the RSA private key which is what actually does the authentication. It sounds as though you are going to the mail file on the server, though..."If user's Lotus Notes's is configured with Domino server...". If there is a local replica of the mail file that is not encrypted you should not need to authenticate to access it. If it is encrypted, or you need to access the server, then the user absolutely will need to authenticate.

Andrew Brew
A: 

If this is an application which runs on a client workstation, and the user has the Notes client running on that workstation, it is possible to "share" the password, so that your application does not need to prompt the user. This is an option, enabled from the Notes client. In R8, this option is under File > Security > User Security, and then under the Security Basics tab, there is a check box labeled "Don't prompt for a password from other Notes based programs." (In R7 and earlier, its under a similar menu item, I think labeled just "User ID.")

Ed Schembor