LOTUSSCRIPT/COM/OLE CLASSES


Examples: CanCreateDocuments property
This script creates an entry for Eben Klemm in the current database and gives him Author access. It gives him the right to create documents in the database and denies him the right to delete documents.

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, "Eben Klemm/East/ACME", ACLLEVEL_AUTHOR )
entry.CanCreateDocuments = True
entry.CanDeleteDocuments = False
Call acl.Save

See Also