You can use a server management request to obtain a list of clients currently on the server. This list contains clients who are registered on the server, including remote clients, open connectors, and destination aliases.
For an overview of how to use server management requests, including how to authenticate and schedule them, see Introduction to server management requests.
To obtain a list of clients, use the <GetClientList> tag in your server management request. For example:
<?xml version="1.0" encoding="UTF-8"?> <actions> <GetClientList/> (or <GetClientList></GetClientList> ) </actions>
The response that is generated is sent to the reply address of the message containing the request. The response contains a list of <client> tags, each naming one client connected to the server. For example:
<?xml version="1.0" encoding="UTF-8"?> <GetClientListResponse> <client>ianywhere.server</client> <client>ianywhere.connector.myConnector</client> <client>myClient</client> </GetClientListResponse>