Language (NotesName - JavaScript)

Read-only. The language code associated with an alternate user name.

Defined in

NotesName

Syntax

getLanguage() : string

Usage

See @Locale in the formula language for a list of language codes.

This property returns an empty string if the language is undefined.

A primary name created through Domino® administration does not have a language code; an alternate name may have a language code.

Examples

This computed field returns fr-CA.
var nam:NotesName = session.createName(
	"CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US", "fr-CA");
return nam.getLanguage();