jmlacoste
asked on
No password prompt to read names.nsf
Hello all,
We are having issues with a piece of code that seem to behave differently nowadays.
We want to access contacts in a local names.nsf file without asking for the Lotus Notes password of the user.
We were thinking that if the Notes client was running, ie the user had already logged into Notes, we could access his names.nsf file without asking him his Notes ID...
After some tests it seems like Notes is always asking for the password, no matter if it is running or not.
Does anyone know for sure if this has always been the behaviour, or has it changed recently with newer versions of Notes?
Here is the line of code that prompts for the password (I understand that if pwd="", it will ask for it anyway) :
Thanks for your help!
We are having issues with a piece of code that seem to behave differently nowadays.
We want to access contacts in a local names.nsf file without asking for the Lotus Notes password of the user.
We were thinking that if the Notes client was running, ie the user had already logged into Notes, we could access his names.nsf file without asking him his Notes ID...
After some tests it seems like Notes is always asking for the password, no matter if it is running or not.
Does anyone know for sure if this has always been the behaviour, or has it changed recently with newer versions of Notes?
Here is the line of code that prompts for the password (I understand that if pwd="", it will ask for it anyway) :
session = new NotesSession();
session.Initialize(_notesPwd); // << bugger
Thanks for your help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
simple and perfect answer