LOTUSSCRIPT/COM/OLE CLASSES


Examples: CanReplicateOrCopyDocuments property
This agent creates an entry for Eben Klemm in the current database and gives him Author access. It denies him the right to replicate or copy documents.

Sub Initialize
 Dim session As New NotesSession
 Dim db As NotesDatabase
 Set db = session.CurrentDatabase
 Dim acl As NotesACL
 Dim entry As NotesACLEntry
 Set acl = db.ACL
 Set entry = New NotesACLEntry _
( acl, "Eben Klemm/East/ACME", ACLLEVEL_AUTHOR )
 entry.CanReplicateOrCopyDocuments = False
 Call acl.Save
End Sub

See Also