Examples: Remove method

This script finds Shelly McPhail's entry in the access control list of the current database and removes it. Shelly is then no longer listed in the ACL, and she has the -Default- access.

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( "Shelly McPhail/East/ACME" )
Call entry.Remove
Call acl.Save