Hi Dojo,
I'm creating a flow in Power Automate that when a maintenance window is scheduled it will send a Teams message to every person that is logged in on my system.
For this I'll make us of Webhooks to retrieve a JSON list of logged in persons. But which call can I use to have the persons that are currently logged in?
Hi Jens,
I don't think the DataMiner Web API's expose an API call to retrieve the active connections. We could add this as a new software feature.
As a workaround, you could create a protocol or script that retrieves this information through an SLNet call and stores it in a parameter, which you can fetch through the Web APIs.
The following SLNet request will return the information you want.
var activeUsers = engine.SendSLNetMessage(new GetInfoMessage(InfoType.ClientList)).OfType<LoginInfoResponseMessage>();
There is also the API Deployment feature (currently still in softlaunch) that you can use to directly access an automation script from a REST API