例: IsPerson property

次のスクリプトは、エントリがユーザーエントリであるかどうかを調べます。

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("A Purchase")
If entry.IsPerson Then
  Messagebox entry.Name & " is a person."
Else
  Messagebox entry.Name & " is not a person."
End If
Call acl.Save