Solved

No password prompt to read names.nsf

Posted on 2011-02-14
2
1,236 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
About delegates in c sharp 3 49
rest webservice call over https via c# 6 42
Service Controller 1 23
Hey!!!! 1 22
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…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

810 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