Paradox/toolbox/Server.php
public function setUserActive($username, $active)
    {
        try {
            $this->_toolbox->getUserHandler()->updateUser($username, null, (bool) $active);

            return true;
        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new ServerException($normalised['message'], $normalised['code']);
        }
    }
public function setUserActive($username, $active)
    {
        try {
            $this->_toolbox->getUserHandler()->updateUser($username, null, (bool) $active);

            return true;
        } catch (\Exception $e) {
            $normalised = $this->_toolbox->normaliseDriverExceptions($e);
            throw new ServerException($normalised['message'], $normalised['code']);
        }
    }
Enable or disable the user.
@param  string          $username The user to enable or disable.
@param  boolean         $active   The new enabled or disabled state.
@throws ServerException
@return boolean