def get_loginclass(name):

    userinfo = __salt__['cmd.run_stdout'](['pw', 'usershow', '-n', name])
    userinfo = userinfo.split(':')

    return {'loginclass': userinfo[4] if len(userinfo) == 10 else ''}
Delete an application. If we wouldn't check the token here it could
dataset/ETHPy150Open saltstack/salt/salt/modules/pw_user.py/get_loginclass--crossover with--dataset/ETHPy150Open cloudControl/cctrl/cctrl/app.py/AppController.delete