def set_password(name, password):
    return __salt__['user.update'](name=name, password=password)
Set the password for a named user.
dataset/ETHPy150Open saltstack/salt/salt/modules/win_shadow.py/set_password