OrgUnit3 (NotesName - JavaScript)

Read-only. The third organizational unit of a hierarchical name (OU=).

Defined in

NotesName

Syntax

getOrgUnit3() : string

Usage

This property returns an empty string for a hierarchical name with no organizational unit 3 component.

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

Organizational unit 3 is the third rightmost organizational unit in the name.

Examples

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