duke1
February 1, 2010, 3:39pm
1
thx~
only search profiles=vpn
/ppp/secrets/print [suss] //list all user ok!
/ppp/secrets/print =profiles=vpn [fail]
/ppp/secrets/print =profiles=vpn= [fail]
/ppp/secrets/find =profiles=vpn [fail]
use why format?
http://wiki.mikrotik.com/wiki/API#Queries
/ppp/secrets/print
?profiles=vpn
p.s. ‘profile’, not ‘profiles’?..
duke1
February 1, 2010, 4:07pm
3
only list all user
not list profile=vpn user
ver? i ver is 3.13
http://wiki.mikrotik.com/wiki/API#Queries
This feature appeared in the 3.21 version.
before 3.21 you should filter out necessary values manually
janisk
February 2, 2010, 10:36am
5
by manually he means - you have to receive full list from router and then parse on your client what is what. Post 3.21 you can run queries to filter out unnecessary data/fields etc.