Community discussions

MikroTik App

Search found 3 matches

by paramex
Thu May 17, 2018 12:29 am
Forum: The User Manager
Topic: Add profile to user via Console/API/Script
Replies: 29
Views: 27628

Re: Add profile to user via Console/API/Script

Thank you very much. This command works well on the CLI: /tool user-manager user create-and-activate-profile profile=TRIAL customer=admin numbers=[find username="111"]; But unfortunately, it doesn't work when using the api to send the command, because "find" is not supported through the api. So ple...
by paramex
Thu Nov 16, 2017 10:56 am
Forum: General
Topic: API in Visual Basic 6 working fine!
Replies: 34
Views: 25002

Re: API in Visual Basic 6 working fine!

How is the load profile in the list
with user manager (userman)
SendCommand "/tool/user-manager/profile/print"
or with internal hotspot
SendCommand "/ip/hotspot/profile/print"
by paramex
Tue Nov 14, 2017 10:58 pm
Forum: General
Topic: API in Visual Basic 6 working fine!
Replies: 34
Views: 25002

Re: API in Visual Basic 6 working fine!

Private Sub ws_DataArrival(ByVal bytesTotal As Long) If bErr Then Exit Sub Dim ar() As Byte, i& ReDim ar(0 To bytesTotal - 1) ws.GetData ar, vbByte, bytesTotal On Error Resume Next Err.Clear On Error GoTo 0 inbuf1 = ar Dim WordLen&, StartIdx&, Idx& StartIdx = 0 Do While True Idx = StartIdx WordLen ...