Identifies as user
$link
$username
$password
Identifies as user with username and password. Identification is only valid for the current session. I do not think this function will be needed very often. In most cases it will be easier to identify with the opening of the connection.
username
password
link
The connection identifier.
The username.
The password.