Examples: Parent property (Notes® ACL - LotusScript®)

This script prints the title of the NotesDatabase object from which an ACL was retrieved (db), and the title of the NotesDatabase object returned by the Parent property (parentDb). The titles are the same, because db and parentDb represent the same database, SOMEDOCs.NSF.

Dim db As New NotesDatabase( "", "somedocs.nsf" )
Dim parentDb As NotesDatabase
Dim acl As NotesACL
Set acl = db.ACL
Set parentDb = acl.Parent
Messagebox( db.Title )
Messagebox( parentDb.Title )