def set_expire(name, date):
    _set_account_policy(
        name, 'usingHardExpirationDate=1 hardExpireDateGMT={0}'.format(date))

    return get_expire(name) == date
Sets the date on which the account expires. The user will not be able to
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_shadow.py/set_expire