switchToID (Registration - Java)

Switches to a different ID file.

Defined in

Registration

Syntax

public String switchToID(String idfile, String userpw)
    throws NotesException

Parameters

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

String

The user name that corresponds to the ID file to which you have switched.

Usage

This method works only on a client.

Example