例: DisableRole method

次のスクリプトはデータベース DISCUSS.NSF で、Bill Ehrhardt の [Auditor] ロールを無効にします。

Dim db As New NotesDatabase _
( "Bucharest", "data¥discuss.nsf" )
Dim acl As NotesACL
Dim entry As NotesACLEntry
Set acl = db.ACL
Set entry = acl.GetEntry( "Bill Ehrhardt/East/ACME" )
Call entry.DisableRole( "Auditor" )
Call acl.Save