OrgUnit4 (NotesName - JavaScript)

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

Defined in

NotesName

Syntax

getOrgUnit4() : string

Usage

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

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

Organizational unit 4 is the fourth rightmost organizational unit in the name.

Examples

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