src/Controllers/AccountAuthenticationController.php
public function createUser($accountID, $contactID, $username, $password)
    {
        try
        {
            return $this->httpHelper->patch("accounts/" . intval($accountID) . "/contacts/" . intval($contactID),[
                'username' => $username,
                'password' => $password
            ]);
        }
        catch (ApiException $e)
        {
            throw new InvalidArgumentException($e->getMessage());
        }
    }
public function createUser($accountID, $contactID, $username, $password)
    {
        try
        {
            return $this->httpHelper->patch("accounts/" . intval($accountID) . "/contacts/" . intval($contactID),[
                'username' => $username,
                'password' => $password
            ]);
        }
        catch (ApiException $e)
        {
            throw new InvalidArgumentException($e->getMessage());
        }
    }
public function createUser ( $ accountID , $ contactID , $ username , $ password ) { try { return $ this -> httpHelper -> patch ( "accounts/" . intval ( $ accountID ) . "/contacts/" . intval ( $ contactID ) , [ 'username' => $ username , 'password' => $ password ] ) ; } catch ( ApiException $ e ) { throw new InvalidArgumentException ( $ e -> getMessage ( ) ) ; } }
Create a username and password for a contact
@param $accountID
@param $contactID
@param $username
@param $password
@return mixed
Create a username and password for a contact