getDirectory (NotesSession - JavaScript)

Creates a new NotesDirectory object using the name of the server you want to access.

Defined in

NotesSession

Syntax

getDirectory() : NotesDirectory

getDirectory(server:string) : NotesDirectory

Parameter Description
server The name of the server whose database files you want to navigate. Use no parameter or an empty string to indicate the current server.
Return value Description
NotesDirectory The directory on the server you specified.

Usage

If this method is run on a server, and the server parameter is the name of a different server, the current server must have a trusted relationship with the specified server.

See the NotesDirectory class for descriptions and examples.