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
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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'},
])
})
})