{hidden}
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{hidden}
{sub-section:description|text=}{sub-section}\\
{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#getApplicationType]\()
The type of the application started by this client.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getClientID]\()
The ID of this client.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getHostAddress]\()
The host address of this client.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getHostIdentifier]\()
The host identifier of this client.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getHostName]\()
The host name of this client.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#getIdleTime]\()
The time and date since the user has been idle.{td}{tr}{tbody}{tbody}{tr}{td}[Date]{td}{td}[#getLoginTime]\()
The time and date the user logged into the system.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getUserName]\()
The name of the user who is logged in at this client.{td}{tr}{tbody}{tbody}{tr}{td}[String]{td}{td}[#getUserUID]\()
The ID of the user who is logged in at this client.{td}{tr}{tbody}{table}\\
{table:id=function|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=getApplicationType|class=node}{tr:id=name}{td}h6.getApplicationType{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getApplicationType{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getApplicationType_des|trigger=button|text=}{sub-section}{sub-section:getApplicationType_des|trigger=none|class=sIndent}
Cache
index
true
refresh
100d
showRefresh
true
id
doc
title
Refresh page
showDate
true
retry
Enable
servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy sSummary12%30%58%height: 30px;3Methods SummaryThe type of the application started by this client.The ID of this client.Gets the array of client information strings as seen on the admin page.The host address of this client.The host identifier of this client.The host name of this client.The time and date since the user has been idle.Gets the last date and time when a user has physically accessed the application.The time and date the user logged into the system.The name of the solution that is currently open by the client.This returns the status line of a NGClient (other clients don't have a value for this)The name of the user who is logged in at this client.The ID of the user who is logged in at this client.functionservoy sDetail2100%height:30px2Methods DetailsgetApplicationTypename
getApplicationType()
dessIndent
The type of the application started by this client.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getApplicationType_snc|trigger=button|text=}{sub-section}{sub-section:getApplicationType_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getApplicationType_prs|trigger=button|text=}{sub-section}{sub-section:getApplicationType_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getApplicationType_ret|trigger=button|text=}{sub-section}{sub-section:getApplicationType_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getApplicationType_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getApplicationType_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getApplicationType_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getApplicationType_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getApplicationType_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getApplicationType_sam|trigger=none}{code:language=javascript}
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());
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getClientID|class=node}{tr:id=name}{td}h6.getClientID{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getClientID{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getClientID_des|trigger=button|text=}{sub-section}{sub-section:getClientID_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetClientIDname
getClientID()
dessIndent
The ID of this client.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getClientID_snc|trigger=button|text=}{sub-section}{sub-section:getClientID_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getClientID_prs|trigger=button|text=}{sub-section}{sub-section:getClientID_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getClientID_ret|trigger=button|text=}{sub-section}{sub-section:getClientID_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getClientID_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientID_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getClientID_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientID_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getClientID_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getClientID_sam|trigger=none}{code:language=javascript}
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());
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getHostAddress|class=node}{tr:id=name}{td}h6.getHostAddress{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getHostAddress{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getHostAddress_des|trigger=button|text=}{sub-section}{sub-section:getHostAddress_des|trigger=none|class=sIndent}ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetClientInfosname
getClientInfos()
dessIndent
Gets the array of client information strings as seen on the admin page.
ret
Returns
sIndent a String array with the client informationclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRowgetHostAddressname
getHostAddress()
dessIndent
The host address of this client.
{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:getHostAddress_snc|trigger=button|text=}{sub-section}{sub-section:getHostAddress_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:getHostAddress_prs|trigger=button|text=}{sub-section}{sub-section:getHostAddress_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:getHostAddress_ret|trigger=button|text=}{sub-section}{sub-section:getHostAddress_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:getHostAddress_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHostAddress_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:getHostAddress_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHostAddress_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:getHostAddress_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:getHostAddress_sam|trigger=none}{code:language=javascript}
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());
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=getHostIdentifier|class=node}{tr:id=name}{td}h6.getHostIdentifier{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getHostIdentifier{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:getHostIdentifier_des|trigger=button|text=}{sub-section}{sub-section:getHostIdentifier_des|trigger=none|class=sIndent}ret