setUserIDForDecrypt (NotesDatabase - JavaScript™)
After calling this method on a database, any document that is opened within the database is decrypted using the encryption keys within the userID object, as specified in the document SecretEncryptionKeys field.
Defined in
NotesDatabaseSyntax
setUserIDForDecrypt(uid:lotus.domino.UserID) : void
setUserIDForDecrypt(idfile:string, password:string) : void
Parameter | Description |
---|---|
uid | NotesUserID (type). After setting the User id, documents in this database will be decrypted with encryption keys of this user id |
idfile | String. Provides the file path of id file. After setting it, all documents in this database will be decrypted with encryption keys of this user id and password. |
password | String. After setting the User id, documents in this database will be decrypted with encryption keys of this user id and password. |