How to access names.nsf DB from a C# application

Hello all,

I have the project to retrieve and replicate locally some users personal address books from a Domino Server 8.5.1 on Windows Server 2008.

This will be done from a server running C# ASP.NET applications on the same network.

Since I’m a total newbie with Lotus technology I’m a bit lost on the options available to me to do it.

I am wondering how I’m going to retrieve the contact details of each user…

-We were told that Domino is Active SYnc compatible, that would have been easy, but as I understand, it’s only through a client application Lotus Traveller which only runs on mobile phones,

  • Then there was the LDAP option which is easy but doesn’t give access to the personnal address books only to the company address book

  • Now I think the last option is to create a webservice presenting address book data depending on the login sent.

Of course all the affirmations above could be wrong, please tell me if I’m totally off subject.

Are these all my options to develop the software?

Thanks a lot

Subject: Not clear on what you’re trying to achieve

Eric.

Before going further in how you can do what you want, it’s not clear for me what you want to do.

In general, personal address books are not on the domino server but on the user workstation. So were are those personal address book in your environment ?

Second point, let’s assume you get access to those addresses what do you want to do with those informations ? Where do you want to insert them ?

Renaud

Subject: More details

Hi,

Thank you for your reply.

The purpose of this project is to retrieve contact details of a user’s personal address book:

typically first name, last name, telephone number

and save them in a local database.

The advantage of this local database is that it merges several corporate directories into one (LDAP, Exchange, Domino, excel files…) and makes it faster for applications to query it.

Also to give even more details this replicated server will be used on the telephones system to display the caller’s details on the telephone of the user. (if he is in his personal address book)

Regarding the environement, I know that the personnal directories must be replicated somehow on the server, because users can access Lotus from their iPhones with Lotus Traveller.

I hope this makes my problem clearer. If you have any advice or ideas, they are SOOOOO welcome

:wink:

Thank you

Subject: …

Regarding the environement, I know that the personnal directories must be replicated somehow on the server, because users can access Lotus from their iPhones with Lotus Traveller.

Then it’s not in the personal address book but in their mail database. The contacts in the personal address book are synchronized into the mail db and that is what is used to synchronized with traveller.

Those contacts can be accessed in the mail db in the view called “(iNotes_Contacts)”.

I don’t know anything about c# (and never will) but you’ll probably face some issues when you access mail DB as you can only access it if you have the right to ! And mainly mail db as restraint to the user only.

As you said you’re a newbie in Lotus, I advise you to work with an experienced lotus developper and the Domino administrator guy to help you on this !

You can achieve it, but on your own, it will be quite tough !

Good luck ! :wink:

Renaud