Solved

No password prompt to read names.nsf

Posted on 2011-02-14
2
1,235 Views
Last Modified: 2013-12-18
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) :

session = new NotesSession();
session.Initialize(_notesPwd); // << bugger

Open in new window


Thanks for your help!
0
Comment
Question by:jmlacoste
2 Comments
 
LVL 46

Accepted Solution

by:
Sjef Bosman earned 125 total points
ID: 34887278
You have to select, under File/Security/User Security, the option: Don't prompt for a password from other Notes-based programs
0
 

Author Closing Comment

by:jmlacoste
ID: 34888276
Thanks a lot,
simple and perfect answer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now