I am trying to write a program that retrieves document from a database from my Lotus Notes database.
Currently my program works fine. However, everytime i try to retrieve any datas, i have to key in my password.
Is there any ‘get’ function that allows me to input my password to retrieve the data. so that i only need to key in my password once everytime i open my program?
Thanks to everyone that can offer me any help or advise in advance.
Subject: RE: Retrieving database with password protection
you can call any c-api functions from within c++ api. download c-api toolkit if you need documentation, header files and libs are already included.
SECKFMSwitchToIDFile is just a simple call.
extpwd sample creates an extension manager dll that allows you to hook password prompt (and supply password). but you need to modify & compile it, put dll in your program directory and make a notes.ini entry. i’d rather stick to SECKFMSwitchToIDFile.
You can also create an id-file that has no password, so that’ll avoid the prompt, or setup single sign on (windows/domain password must match id-file password)…
Subject: RE: If you have Notes running on your machine…
Hi Bill,
Thanks for your response. But do you know of any program that can actually catch the user entering the password? There is a program available for the c api. But i do not know how to use it for the c++ api.(I am using the c++ api)
This is so that i can enter the password for the user instead.