Solved

No password prompt to read names.nsf

Posted on 2011-02-14
2
1,234 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
Comment Utility
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
Comment Utility
Thanks a lot,
simple and perfect answer
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
network + 7 73
Build JSON from table records 17 38
How do I get the id from URL? 19 46
Trouble with References... 5 21
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
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 shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

771 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

10 Experts available now in Live!

Get 1:1 Help Now