servoy sReturnTypes 2 100% height: 30px; 2 Supported Clients sWordList SmartClient sWordList WebClient sWordList NGClient
servoy sSummary 12% 30% 58% height: 30px; 3 Methods Summary The 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.
function servoy sDetail 2 100% height:30px 2 Methods Details getApplicationType name getApplicationType() des sIndent The type of the application started by this client. {sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_ret|text=|trigger=button}{sub-section}{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_see|text=|trigger=button}{sub-section}{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_see|class=sIndent|trigger=none}[.|APPLICATION_TYPES]\\{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_see|text=|trigger=button}{sub-section}{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_sam|text=|trigger=button}{sub-section}{sub-section:ADE42342-4EF8-48AC-99D7-A03903DAED90_sam|class=sIndent|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('\tID: ' + client.getClientID());
application.output('\tApplication type: ' + client.getApplicationType());
application.output('\tHost address: ' + client.getHostAddress());
application.output('\tHost identifier: ' + client.getHostIdentifier());
application.output('\tHost name: ' + client.getHostName());
application.output('\tUser name: ' + client.getUserName());
application.output('\tUsed UID: ' + client.getUserUID());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=5F008432-6CD3-435F-842C-40ED3D147B9A}{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:5F008432-6CD3-435F-842C-40ED3D147B9A_des|text=|trigger=button}{sub-section}{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_des|trigger=none|class=sIndent} ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getClientID name getClientID() des sIndent The ID of this client. {sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_ret|text=|trigger=button}{sub-section}{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_see|text=|trigger=button}{sub-section}{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_see|text=|trigger=button}{sub-section}{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_sam|text=|trigger=button}{sub-section}{sub-section:5F008432-6CD3-435F-842C-40ED3D147B9A_sam|class=sIndent|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('\tID: ' + client.getClientID());
application.output('\tApplication type: ' + client.getApplicationType());
application.output('\tHost address: ' + client.getHostAddress());
application.output('\tHost identifier: ' + client.getHostIdentifier());
application.output('\tHost name: ' + client.getHostName());
application.output('\tUser name: ' + client.getUserName());
application.output('\tUsed UID: ' + client.getUserUID());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9D043094-805A-4717-809F-EA323BF550FC}{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:9D043094-805A-4717-809F-EA323BF550FC_des|text=|trigger=button}{sub-section}{sub-section:9D043094-805A-4717-809F-EA323BF550FC_des|trigger=none|class=sIndent} ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getClientInfos name getClientInfos() des sIndent Gets the array of client information strings as seen on the admin page. ret Returns
sIndent a String array with the client information clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getHostAddress name getHostAddress() des sIndent The host address of this client. {sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:9D043094-805A-4717-809F-EA323BF550FC_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9D043094-805A-4717-809F-EA323BF550FC_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:9D043094-805A-4717-809F-EA323BF550FC_ret|text=|trigger=button}{sub-section}{sub-section:9D043094-805A-4717-809F-EA323BF550FC_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9D043094-805A-4717-809F-EA323BF550FC_see|text=|trigger=button}{sub-section}{sub-section:9D043094-805A-4717-809F-EA323BF550FC_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9D043094-805A-4717-809F-EA323BF550FC_see|text=|trigger=button}{sub-section}{sub-section:9D043094-805A-4717-809F-EA323BF550FC_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9D043094-805A-4717-809F-EA323BF550FC_sam|text=|trigger=button}{sub-section}{sub-section:9D043094-805A-4717-809F-EA323BF550FC_sam|class=sIndent|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('\tID: ' + client.getClientID());
application.output('\tApplication type: ' + client.getApplicationType());
application.output('\tHost address: ' + client.getHostAddress());
application.output('\tHost identifier: ' + client.getHostIdentifier());
application.output('\tHost name: ' + client.getHostName());
application.output('\tUser name: ' + client.getUserName());
application.output('\tUsed UID: ' + client.getUserUID());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=1372C3D0-F830-476E-8775-75C220995D72}{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:1372C3D0-F830-476E-8775-75C220995D72_des|text=|trigger=button}{sub-section}{sub-section:1372C3D0-F830-476E-8775-75C220995D72_des|trigger=none|class=sIndent} ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getHostIdentifier name getHostIdentifier() des sIndent The host identifier of this client. {sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:1372C3D0-F830-476E-8775-75C220995D72_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:1372C3D0-F830-476E-8775-75C220995D72_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:1372C3D0-F830-476E-8775-75C220995D72_ret|text=|trigger=button}{sub-section}{sub-section:1372C3D0-F830-476E-8775-75C220995D72_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:1372C3D0-F830-476E-8775-75C220995D72_see|text=|trigger=button}{sub-section}{sub-section:1372C3D0-F830-476E-8775-75C220995D72_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:1372C3D0-F830-476E-8775-75C220995D72_see|text=|trigger=button}{sub-section}{sub-section:1372C3D0-F830-476E-8775-75C220995D72_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:1372C3D0-F830-476E-8775-75C220995D72_sam|text=|trigger=button}{sub-section}{sub-section:1372C3D0-F830-476E-8775-75C220995D72_sam|class=sIndent|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('\tID: ' + client.getClientID());
application.output('\tApplication type: ' + client.getApplicationType());
application.output('\tHost address: ' + client.getHostAddress());
application.output('\tHost identifier: ' + client.getHostIdentifier());
application.output('\tHost name: ' + client.getHostName());
application.output('\tUser name: ' + client.getUserName());
application.output('\tUsed UID: ' + client.getUserUID());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=1E1875C2-08E8-44A1-99E8-015745F23D93}{tr:id=name}{td}h6.getHostName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getHostName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_des|text=|trigger=button}{sub-section}{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_des|trigger=none|class=sIndent} ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getHostName name getHostName() des sIndent The host name of this client. {sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_ret|text=|trigger=button}{sub-section}{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_see|text=|trigger=button}{sub-section}{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_see|text=|trigger=button}{sub-section}{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_sam|text=|trigger=button}{sub-section}{sub-section:1E1875C2-08E8-44A1-99E8-015745F23D93_sam|class=sIndent|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('\tID: ' + client.getClientID());
application.output('\tApplication type: ' + client.getApplicationType());
application.output('\tHost address: ' + client.getHostAddress());
application.output('\tHost identifier: ' + client.getHostIdentifier());
application.output('\tHost name: ' + client.getHostName());
application.output('\tUser name: ' + client.getUserName());
application.output('\tUsed UID: ' + client.getUserUID());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=850E0880-ED43-469A-9DF5-1C5FCDA8C652}{tr:id=name}{td}h6.getUserName{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getUserName{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_des|text=|trigger=button}{sub-section}{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_des|trigger=none|class=sIndent} ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getIdleTime name getIdleTime() des sIndent The time and date since the user has been idle. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getLastAccessedTime name getLastAccessedTime() des sIndent Gets the last date and time when a user has physically accessed the application. NGClient only! ret Returns
sIndent a date object or null if the client doesn't support this clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getLoginTime name getLoginTime() des sIndent The time and date the user logged into the system. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getOpenSolutionName name getOpenSolutionName() des sIndent The name of the user solution who that is logged currently in open at by this client.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_ret|text=|trigger=button}{sub-section}{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_see|text=|trigger=button}{sub-section}{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_see|text=|trigger=button}{sub-section}{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_sam|text=|trigger=button}{sub-section}{sub-section:850E0880-ED43-469A-9DF5-1C5FCDA8C652_sam|class=sIndent|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('\tID: ' + client.getClientID());
application.output('\tApplication type: ' + client.getApplicationType());
application.output('\tHost address: ' + client.getHostAddress());
application.output('\tHost identifier: ' + client.getHostIdentifier());
application.output('\tHost name: ' + client.getHostName());
application.output('\tUser name: ' + client.getUserName());
application.output('\tUsed UID: ' + client.getUserUID());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=9CB1071D-6E85-4CFD-9232-ED448C70C443}{tr:id=name}{td}h6.getUserUID{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[String]{span}{span:id=iets|style=float: left; font-weight: bold;}getUserUID{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_des|text=|trigger=button}{sub-section}{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_des|trigger=none|class=sIndent} the client. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getStatusLine name getStatusLine() des sIndent This returns the status line of a NGClient (other clients don't have a value for this) ret Returns
sIndent a string that is the status line as reported on the admin page. clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getUserName name getUserName() des sIndent The name of the user who is logged in at this client. ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow getUserUID name getUserUID() des sIndent The ID of the user who is logged in at this client. {sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_ret|text=|trigger=button}{sub-section}{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_ret|trigger=none|class=sIndent}[String]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_see|text=|trigger=button}{sub-section}{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_see|text=|trigger=button}{sub-section}{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_sam|text=|trigger=button}{sub-section}{sub-section:9CB1071D-6E85-4CFD-9232-ED448C70C443_sam|class=sIndent|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('\tID: ' + client.getClientID());
application.output('\tApplication type: ' + client.getApplicationType());
application.output('\tHost address: ' + client.getHostAddress());
application.output('\tHost identifier: ' + client.getHostIdentifier());
application.output('\tHost name: ' + client.getHostName());
application.output('\tUser name: ' + client.getUserName());
application.output('\tUsed UID: ' + client.getUserUID());
}
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table} ret Returns
sIndent clients Supported Clients
sIndent SmartClient,WebClient,NGClient sam Sample
sIdent javascript lastDetailRow