Community discussions

MikroTik App

Search found 3 matches

by rizalblue
Tue Aug 23, 2016 10:44 am
Forum: The User Manager
Topic: Can i access user manager Database ?
Replies: 0
Views: 2057

Can i access user manager Database ?

I want to build a website to management hotspot mikrotik and create a notification the user hotspot. I want to access the user manager database in my website (PHP). Can i do it ? How to ?
by rizalblue
Tue Aug 23, 2016 10:42 am
Forum: Scripting
Topic: User-Manager "Total Time Left" via API
Replies: 3
Views: 1413

Re: User-Manager "Total Time Left" via API

If it's not found on the command line (and by extension, in the API), you can use SQLite to read the whole DB. How exactly do you do that in .NET is a separate problem... A quick search shows me there are several APIs you can use, but it seems like there's nothing built into .NET. How to access the...
by rizalblue
Tue Aug 23, 2016 10:39 am
Forum: The User Manager
Topic: [ASK] Get user manager till time and total time left with PHP API
Replies: 1
Views: 2517

[ASK] Get user manager till time and total time left with PHP API

I use this code $API->write('/tool/user-manager/user/getall'); $READ = $API->read(false); $ARRAY = $API->parseResponse($READ); echo "<pre>";print_r($ARRAY);echo "</pre>"; $API->disconnect(); But, cant find array key to show till time and total time left. How to get it ?