OrgUnit1 (NotesName - JavaScript™)
Read-only. The first organizational unit of a hierarchical
name (OU=
).
Defined in
NotesNameSyntax
getOrgUnit1() : string
Usage
This property returns an empty string for a hierarchical name with no organizational unit 1 component.This property returns an empty string for an Internet or flat name.
Organizational unit 1 is the rightmost organizational unit in the name.
Examples
This computed field returnsEast
.var nam:NotesName = session.createName(
"CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US");
return nam.getOrgUnit1();