def delete(name, remove=False, force=False):
    if salt.utils.is_true(force):
        log.error('pw userdel does not support force-deleting user while '
                  'user is logged in')
    cmd = ['pw', 'userdel']
    if remove:
        cmd.append('-r')
    cmd.extend(['-n', name])
    return __salt__['cmd.retcode'](cmd, python_shell=False) == 0
Execute a query.
dataset/ETHPy150Open saltstack/salt/salt/modules/pw_user.py/delete--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/query.py/Query.Query