User ID File Problem

Hello there,I wanted to ask, if there is a way to get/add/update/delete, mail/calendar/contacts from a Domino Server programatically for all users, having only for each user the following details in a database: username, password, database fileName.

What im trying to do is to get those details from a record in my database, login to the server and get data from a database file.

The problem is that every time i run this in my development machine i have to change/select the appropriate ID File first, for each user, by using the Notes Client UI.

a) Do i have generally to Install/Use the Lotus Notes Client in my machine so that i can run my program appropriately?

b) Is there a way login from my program to a domino server without having to use an ID File?

c) Can an Administrator account programatically open database files of other users(mail/xxxx.nsf, user’s names.nsf?)

This is really important. Any Help would be appreciated.

Thank you!

Subject: More details

Thanks for the reply ,Let me give some more details

I made a service which runs on a domino server and I use InitializeUsingNotesUserName(Username, Password) to do Update,Delete,Get methods on mail,contacts,calendar.

I want to know if there is some problem with that approach.

I dont understand how to use the recovery ID in .NET to access each user’s database.

Subject: set up an “admin id” for your program

You should set up ONE ID specifically for your program to use and have the Domino Admin add that ID to the ACL of all the user mailfiles. Use this same username/pwd to access all the files. That way you aren’t signed on “as” the user.

Subject: use an admin account

An administrator account listed in the ACL of each of the databases would be able to access those databases.

You do not want to write something which utilizes the end-user’s login. That opens you up to security issues big time, the least of which would be plausible deniability on the user’s part. You should not even know your end user’s passwords, but should set up and use ID Recovery (see admin help).