sites_database_user_add() not returning id

Discussion in 'Plugins/Modules/Addons' started by JohanLR, Mar 3, 2015.

  1. JohanLR

    JohanLR New Member

    I am stuck trying to create a site through the remote api.
    my version is ISPConfig 3.0.5.4p5
    my code is basically
    Code:
    $dbUserParams = array(
        'server_id' => $serverID,
        'database_user' =>  $username,
        'database_password' => $password
    );
    $dbUserId = $this->client->sites_database_user_add($this->sessionId, $clientID, $dbUserParams);
    This creates the user but does not return a value $dbUserID is not set

    the user seems to not actually be created in mysql just added to the "web_database_user" table
     
    Last edited: Mar 4, 2015

Share This Page