From d16fbd4cdf8030e3c0331db96388607708a012fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 10 Sep 2018 09:50:50 +0300 Subject: [PATCH] Expand `list users` output in maxctrl The output now lists the type and privileges of each user. --- maxctrl/lib/list.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/maxctrl/lib/list.js b/maxctrl/lib/list.js index 0e727e10b..802eee7c3 100644 --- a/maxctrl/lib/list.js +++ b/maxctrl/lib/list.js @@ -170,7 +170,9 @@ exports.builder = function(yargs) { }, function(argv) { maxctrl(argv, function(host) { return getCollection(host, 'users/inet',[ - {'Name':'id'} + {'Name':'id'}, + {'Type':'type'}, + {'Privileges':'attributes.account'}, ]) }) })