login

Syntax

login(userId, password, [encrypted=false])

Arguments

userId a string indicating a user name. It can only contain letters, underscores, or numbers. It cannot start with numbers. The length cannot exceed 30 characters.

password a string indicating the password. It cannot contain space or control characters. The length must be between 6 and 20 characters.

encrypted a Boolean value indicating whether to encrypt userId and password with public key.

Details

A user logs in to operate on the controller or data nodes.

Examples

$ login(`JohnSmith, `Qb0507);