Organization (NotesName - JavaScript)

Read-only. The organization component of a hierarchical name (O=).

Defined in

NotesName

Syntax

getOrganization() : string

Usage

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

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

Examples

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