LOTUSSCRIPT/COM/OLE CLASSES


Examples: CanCreateLSOrJavaAgent property
This script creates an entry for Mara Smith in the ACL and gives her Reader access with LotusScript Agent or JavaScript Agent privileges.

Dim session As New NotesSession
Dim db As NotesDatabase
Dim acl As NotesACL
Dim entry as NotesACLEntry
Set db = session.CurrentDatabase
Set acl = db.ACL
Set entry = New NotesACLEntry(acl,_
"Mara Smith/East/ACME", ACLLEVEL_READER)
entry.CanCreateLSOrJavaAgent = True
Call acl.Save

See Also