Solved

No password prompt to read names.nsf

Posted on 2011-02-14
2
1,243 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

621 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