IsDB2 (NotesDatabase - JavaScript)

Read-only. Indicates whether the current database is backed by DB2®.

Defined in

NotesDatabase

Syntax

isDB2() : boolean
Legal value Description
true if the current database is backed by DB2®
false if the current database is not backed by DB2®

Examples

This computed field indicates whether the current database is DB2®.
if (database.isCurrentAccessPublicWriter()) {
	return "You have public writer access"
} else {
	return "You do not have public writer access"
}