views:

85

answers:

2

Hi,

I have created some Domino Server Users. And Now want to progaramaticaly add content to it using c# and Domino.dll.

Note: i did not find any way to manually add content (mails,calendar) of one nsf to another nsf file.

A: 

The Domino.dll exposes a COM interface.
COM Interop tutorial explains in the first part what needs to be done.

weismat
A: 

If you are specifically looking for how to manually "add content of one nsf to another nsf", you can accomplish this using the CopyToDatabase method of the Document class. The method takes the target database object as its only argument, and returns a Document handle to the new document in that target database.

...
    Document doc2 = doc1.CopyToDatabase(db2);
...
Ed Schembor