IsConfigurationDirectory (NotesDatabase - JavaScript)

Read-only. Indicates whether a database is a Configuration Directory database.

Defined in

NotesDatabase

Syntax

isConfigurationDirectory() : boolean
Legal value Description
true if the database is a Configuration Directory
false if the database is not a Configuration Directory

Usage

This property is available for NotesDatabase objects retrieved from the AddressBooks property in NotesSession. For other NotesDatabase objects, this property has no value, and therefore evaluates to false when used in conditional statements.

The database must be open to use this property.

Examples

This button lists the titles of the current address books and whether they are configuration directories.
var books = session.getAddressBooks().iterator();
while (books.hasNext()) {
	var book:NotesDatabase = books.next();
	book.open();
	if (book.isConfigurationDirectory()) {
		requestScope.status += book.getTitle() + " is a configuration directory\n";
	} else {
		requestScope.status += book.getTitle() + " is not a configuration directory\n";
	}
}