IsProfile (NotesDocument - JavaScript)

Read-only. Indicates whether a NotesDocument object is a profile document.

Defined in

NotesDocument

Syntax

isProfile() : boolean
Legal value Description
true if the document is a profile document
false if the document is not a profile document

Examples

This computed field displays the name of a profile document if the underlying object is a profile document. The global variable requestScope.doc is set before the document is loaded.
if (requestScope.doc.isProfile()) {
	return requestScope.doc.getNameOfProfile();
} else {
	return "Not a profile"
}