def info(name):
    info = __salt__['user.info'](name=name)

    ret = {'name': name,
           'passwd': '',
           'lstchg': '',
           'min': '',
           'max': '',
           'warn': '',
           'inact': '',
           'expire': ''}

    if info:
        ret = {'name': info['name'],
               'passwd': 'Unavailable',
               'lstchg': info['password_changed'],
               'min': '',
               'max': '',
               'warn': '',
               'inact': '',
               'expire': info['expiration_date']}

    return ret
Define a layered model from layerTops (z-positive up)
dataset/ETHPy150Open saltstack/salt/salt/modules/win_shadow.py/info--crossover with--dataset/ETHPy150Open simpeg/simpeg/SimPEG/Utils/ModelBuilder.py/layeredModel