switchToID (NotesRegistration - JavaScript)

Switches to a different ID file.

Defined in

NotesRegistration

Syntax

switchToID(idfile:string, userpw:string) : string
Parameter Description
String idfile The ID file to which you want to switch; specify the complete path, for example, c:\notes\data\user.id.
String userpw The user's password.
Return value Description
String The user name that corresponds to the ID file to which you have switched.

Usage

This method works only on a client.