May 03, 2024 03:36 Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients Sample Returns Supported Clients SampleSupported Clients
NGClient
Methods Summary
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.
Date
getIdleTime()
The time and date since the user has been idle.
Date
getLastAccessedTime()
Gets the last date and time when a user has physically accessed the application.
Date
getLoginTime()
The time and date the user logged into the system.
String
getOpenSolutionName()
The name of the solution that is currently open by the 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.
Methods Details
getApplicationType()
The type of the application started by this client.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getClientID()
The ID of this client.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getHostAddress()
The host address of this client.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getHostIdentifier()
The host identifier of this client.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getHostName()
The host name of this client.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getIdleTime()
The time and date since the user has been idle.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getLastAccessedTime()
Gets the last date and time when a user has physically accessed the application. NGClient only!
getLoginTime()
The time and date the user logged into the system.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getOpenSolutionName()
The name of the solution that is currently open by the client.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getUserName()
The name of the user who is logged in at this client.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}
getUserUID()
The ID of the user who is logged in at this client.
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(' Open solution: ' + client.getOpenSolutionName());
application.output(' User login time and date: ' + client.getLoginTime());
application.output(' User idle since: ' + client.getIdleTime());
}