Examples: GetEntry method (NotesACL - LotusScript®)
- This script gets the entry for Kendra Bauer, from the ACL of progwork.NSF.
Dim db As New NotesDatabase( "snapper", "progwork.nsf" )
Dim acl As NotesACL
Dim entry As NotesACLEntry
Set acl = db.ACL
Set entry = acl.GetEntry( "Kendra Bauer" )
- This script gets the entry for the "Unknown" group in the current
database. It modifies the ACL so that Unknown cannot delete documents
in the database.
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 = acl.GetEntry( "Unknown" )
If Not ( entry Is Nothing ) Then
entry.CanDeleteDocuments = False
Call acl.Save
End If
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.