Parent (NotesDatabase - JavaScript)

Read-only. The Notes® session that contains a database.

Defined in

NotesDatabase

Syntax

getParent() : NotesSession

Usage

A database does not need to be open to use this property.

Examples

This computed field displays the common name of the parent session for the current database.
return database.getParent().getCommonUserName()