PubliEncryptionKeys

This may be a simple question for many, but please help me out.I have PublicEncryptionKeys field on all documents in a database. They had certain names a while back and everything worked fine. Now I face two issues:

  1. Some users had their id files changed, and they were no longer able to access these documents. So, they had to get their old ID file back. However, one particular user is still not able to access the document though her name shows in PublicEncryptionKeys field. Why?

  2. I need to add a new name to all these documents. I understand, I can manually edit a document, add the name and save it. This will re encrypt the document. However I can’t do that for so many documents one by one. Please tell me a better way. I ran an agent to update the field and run computewithform, but that didn’t work.

Subject: LotusScript

Hi

a little LotusScript will help.

If I understand your problem correctly, there is a field encrypted for a specific group of people.

The logic of your script will have to…

  1. get the documents you want to process

  2. cycle thru each of the documents

  3. for each document get the field which needs to be encrypted

  4. set the field property IsEncrypted to True

  5. call NotesDocument.Encrypt

  6. save the document

  7. continue with action #2 for the next document

/eom