def add_user(self, username, password):
        try:
            output = self.node.ssh_run_command(["NET", "USER", username, password,"/ADD"])
            if output.find("The command completed successfully.") > -1:
                log.debug("User %s has been created" % username)
            elif output.find("The account already exists.") > -1:
                log.debug('User %s already exists, going to try to set the password' % username)
                output = self.change_user_password(username, password)
                if output.find("The command completed successfully.") > -1:
                    log.debug('THE PASSWORD WAS RESET')
                else:
                    error_string = 'An unknown error occured while trying to set the password for user %s on machine %s.  The error from the machine was %s' % (username, self.ip, output)
                    log.error(error_string)
                    return False, error_string
            else:
                error_string = 'An unknown error occured while trying to create user %s on machine %s.  The error from the machine was %s' % (username, self.ip, output)
                log.error(error_string)
                return False, error_string
            return True, ""
        except HostNotConnectableError:
            return False, ""
dataset/ETHPy150Open bmbouter/Opus/opus/lib/osutils/windows.py/Windows.add_user/original