Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » kerio-api-php login error ?

Messages: 2
Karma: 0
Send a private message to this user
hi <_at_>all ...

a simple script ...

require_once(dirname(__FILE__) . '/KerioConnectApi.php');

$hostname = '';
$username = 'test01<_at_>';
$password = 'lalalu8015';

$api = new KerioConnectApi('Sample application', 'Kerio Technologies', '1.0');


try {
    $login = $api->login($hostname, $username, $password);
    $response = $api->sendRequest('Session.whoAmI');
} catch (KerioApiException $error) {
    print $error->getMessage();

if(isset($login)) {


respons ==> Username or password is not correct.

i can login with the same user/password in the webinterface ...
where is the problem ?


Messages: 2
Karma: 0
Send a private message to this user


forget my question ...

the user rights have missed ...
Previous Topic: Blackberry Calendar Sync Issue
Next Topic: Autodiscovery in Kerio connect 7.3.X
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Nov 19 13:33:18 CET 2017

Total time taken to generate the page: 0.00368 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.