login

This method issues a login request for the specified user.

Note that this method has no affect if the user is already logged in.

Syntax

login(userId,
      password);

Parameters

  • userId - (String) The name of the user to log in.
  • password - (String) The password for the user logged in.