我使用 pear2 api 断开用户与 mikrotik 的连接。和
$printRequest = new RouterOS\Request('/ip/hotspot/active/print');
$printRequest->setArgument('.proplist', '.id,mac-address');
$printRequest->setQuery(RouterOS\Query::where('user', $username)->andWhere('mac-address',$macAddress));
$id = $this->client->sendSync($printRequest)->getArgument('.id');
$removeRequest = new RouterOS\Request('/ip/hotspot/active/remove');
$removeRequest->setArgument('numbers', $id);
$this->client->sendSync($removeRequest);
现在我想用这个 api 让所有在线用户。请指导我。