Expand list users output in maxctrl

The output now lists the type and privileges of each user.
This commit is contained in:
Markus Mäkelä
2018-09-10 09:50:50 +03:00
parent 8c03b626c4
commit d16fbd4cdf

View File

@ -170,7 +170,9 @@ exports.builder = function(yargs) {
}, function(argv) { }, function(argv) {
maxctrl(argv, function(host) { maxctrl(argv, function(host) {
return getCollection(host, 'users/inet',[ return getCollection(host, 'users/inet',[
{'Name':'id'} {'Name':'id'},
{'Type':'type'},
{'Privileges':'attributes.account'},
]) ])
}) })
}) })