Country (NotesName - JavaScript™)
Read-only. The country/region component of a hierarchical
name (C=
).
Defined in
NotesNameSyntax
getCountry() : string
Usage
This property returns an empty string for a hierarchical name with no country component.This property returns an empty string for an Internet or flat name.
Examples
This computed field returnsUS
.var nam:NotesName = session.createName(
"CN=John B Goode/OU=Sales/OU=East/O=Acme/C=US/A=acmeadmd/P=acmeprmd");
return nam.getCountry();