Dear All,
I found following thread for killing users using their username
http://forum.mikrotik.com/viewtopic.php ... 42&start=0
The syntax is as follow:
ppp act rem [find name=user1]
for example: ppp active remove [find name=testuser]
I use Mikrotik API in VC++
mikrotik.Send("/ppp/active/remove [find name=" + szUsername + "]");
mikrotik.Send(".tag=sss", true);
The code in Mikrotik terminal works fine but nothing happend in VC++ code.
Any suggestion?