Unfortunately, I've found that the encryption setting isn't exposed programmatically, although I haven't investigated
DXL or the database design class available on the LDD sandbox for references. Nonetheless, you may not need to set it. Starting in Lotus Notes Domino R6, local replica copies receive medium-level encryption settings by default. If this suits your needs, you can create the replica:
Dim Session s = new NotesSession Dim replicaCopy as NotesDatabase Set replicaCopy = s.currentDatabase.CreateReplica("","filename.nsf")
Do you have comments on this Ask the Expert Q&A? Let us know.
Related information from SearchDomino.com:
Dig deeper on LotusScript
Related Q&A from Cregg Hardwick
A user wants to know if it's possible for LotusScript to read an attachment in a Notes document without first detaching it. Find out our expert's ...continue reading
Learn about different options using LotusScript code and Formula language to customize the principal field of outgoing Lotus Notes email messages.continue reading
Read about merging cells in a Microsoft Word table using LotusScript and an Excel example, along with the thought process that goes along with it.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.