List of all headless clients

I didn’t find a way to just get the headless clients, but we create usage-logs like this:

var listClients = plugins.clientmanager.getConnectedClients();
for (var indClients = 0; indClients < listClients.length; indClients++) {
    var clientInfo = listClients[indClients];
    if (clientInfo.getApplicationType() == APPLICATION_TYPES.HEADLESS_CLIENT) {
        headlessClientsAll++
        continue;
    }
    var clientUserOrgID = clientInfo.getUserUID();
    if (!clientUserOrgID) {
        continue;
    }
......
}

We just count the headless-clients and don’t do much more, but you could probably get more infos from the clienInfo-Object, like the name with clientInfo.getOpenSolutionName().