Canonical (NotesName - JavaScript)

Read-only. A hierarchical name in canonical form.

Defined in

NotesName

Syntax

getCanonical() : string

Usage

This property returns an Internet or flat name as is.

Examples

This computed field returns CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US.
var nam:NotesName = session.createName(
	"CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US");
return nam.getCanonical();
This computed field returns the canonical hierarchical name of the current user.
return session.getUserNameObject().getCanonical();
This computed field also returns the canonical hierarchical name of the current user.
return session.getUserName();