DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING. THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE
var clients = plugins.maintenance.getConnectedClients(); application.output('There are ' + clients.length + ' connected clients.'); for (var i = 0; i < clients.length; i++) { var client = clients[i]; application.output('Client details:'); application.output(' ID: ' + client.getClientID()); application.output(' Application type: ' + client.getApplicationType()); application.output(' Host address: ' + client.getHostAddress()); application.output(' Host identifier: ' + client.getHostIdentifier()); application.output(' Host name: ' + client.getHostName()); application.output(' User name: ' + client.getUserName()); application.output(' Used UID: ' + client.getUserUID()); application.output(' User login time and date: ' + client.getLoginTime()); application.output(' User idle since: ' + client.getIdleTime());}