Method Summery | |
---|---|
Number | #getApplicationType() The type of the application started by this client. |
String | #getClientID() The ID of this client. |
String | #getHostAddress() The host address of this client. |
String | #getHostIdentifier() The host identifier of this client. |
String | #getHostName() The host name of this client. |
String | #getUserName() The name of the user who is logged in at this client. |
String | #getUserUID() The ID of the user who is logged in at this client. |
Method Details |
---|
getApplicationType |
Number getApplicationType () |
The type of the application started by this client. |
Returns Number |
Samplevar 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()); } |
getClientID |
String getClientID () |
The ID of this client. |
Returns String |
Samplevar 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()); } |
getHostAddress |
String getHostAddress () |
The host address of this client. |
Returns String |
Samplevar 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()); } |
getHostIdentifier |
String getHostIdentifier () |
The host identifier of this client. |
Returns String |
Samplevar 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()); } |
getHostName |
String getHostName () |
The host name of this client. |
Returns String |
Samplevar 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()); } |
getUserName |
String getUserName () |
The name of the user who is logged in at this client. |
Returns String |
Samplevar 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()); } |
getUserUID |
String getUserUID () |
The ID of the user who is logged in at this client. |
Returns String |
Samplevar 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()); } |