Paradox/toolbox/Server.php
public function createUser($username, $password = null, $active = true, $data = array())
    {
        try {
            $this->_toolbox->getUserHandler()->addUser($username, $password, $active, $data);

            return true;
        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new ServerException($normalised['message'], $normalised['code']);
        }

    }
public function createUser($username, $password = null, $active = true, $data = array())
    {
        try {
            $this->_toolbox->getUserHandler()->addUser($username, $password, $active, $data);

            return true;
        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new ServerException($normalised['message'], $normalised['code']);
        }

    }
Create a user on the server.
@param  string          $username The username.
@param  string          $password The password
@param  boolean         $active   Whether this user should be enabled or not
@param  array           $data     An optional associative array containing extra data for the user.
@throws ServerException
@return boolean