Generation (NotesName - JavaScript)

Read-only. The generation component of a hierarchical name (Q=), for example, "Jr."

Defined in

NotesName

Syntax

getGeneration() : string

Usage

This property returns an empty string for a hierarchical name with no generation component.

This property returns an empty string for an Internet or flat name.

A name created through Domino® administration does not contain a generation component.

Examples

This computed field returns Jr.
var nam:NotesName = session.createName(
	"CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US/S=Goode/G=John/I=B/Q=Jr");
return nam.getGeneration();