Login with user name and password to retrieve a session API key (version 9.5+)

This key can be used to generate the sign value for subsequent API calls with the 'authmode' parameter set to 'sessionkey'. Refer to the main API documentation for an example

$username The username
$password The current password

Return values

A session API key in string form if the login succeeds, FALSE if the credentials are invalid