def list_permissions(vhost, runas=None):
    if runas is None:
        runas = salt.utils.get_user()
    res = __salt__['cmd.run'](
        ['rabbitmqctl', 'list_permissions', '-p', vhost],
        runas=runas,
        python_shell=False)

    return _output_to_dict(res)
Lists permissions for vhost via rabbitmqctl list_permissions
dataset/ETHPy150Open saltstack/salt/salt/modules/rabbitmq.py/list_permissions