Community discussions

MikroTik App

Search found 14 matches

by csrf
Wed Nov 27, 2019 11:32 pm
Forum: Scripting
Topic: User manager: get list of user profiles?
Replies: 3
Views: 1752

Re: User manager: get list of user profiles?

Did you check the "Reports" tab in the user manager ? yes, I can see them there, but I need a scripted solution, in order to pull the information via the API (or CLI). any ideas? BTW, I see that you're basically the only person replying to my posts. Have these forums been abandoned by Mik...
by csrf
Wed Nov 27, 2019 1:27 am
Forum: Scripting
Topic: User manager: get list of user profiles?
Replies: 3
Views: 1752

User manager: get list of user profiles?

How can I get a list of assigned profiles (active, expired, pending) for user-manager user via the CLI and/or API?
by csrf
Mon Nov 25, 2019 7:41 am
Forum: Scripting
Topic: how can i get rx/tx-rate of an active user (hotspot)?
Replies: 6
Views: 3601

Re: how can i get rx/tx-rate of an active user (hotspot)?

bump...
I also need this & can't find out which CLI/API command will retrieve this information.
I need this to create my own "active users" table for a custom admin web application.
by csrf
Sun Nov 24, 2019 11:27 am
Forum: General
Topic: Firewall rule to restrict hotspot traffic to next-hop gateway
Replies: 4
Views: 771

Firewall rule to restrict hotspot traffic to next-hop gateway

I need help figuring out how to setup a firewall rule: my mikrotik hotspot router is behind a LAN/NAT router, which connects to the ISP/WAN. I want to restrict outgoing traffic originating from the hotspot LAN to only be able to access the LAN/ISP gateway. IOW, I dont' want any of the hotspot client...
by csrf
Sun Nov 24, 2019 3:06 am
Forum: The User Manager
Topic: Restart user manager service???
Replies: 2
Views: 2810

Re: Restart user manager service???

Mm i dont think so... why dont you instead tell us what are the problems ? Maybe we can find a solution... my issue is regarding the problem I'm having with language translations, as posted here: https://forum.mikrotik.com/viewtopic.php?f=10&t=154166 (obviously, I see you've already commented o...
by csrf
Sun Nov 24, 2019 3:04 am
Forum: Scripting
Topic: fetch a list of user-manager usernames via API
Replies: 3
Views: 1961

Re: fetch a list of user-manager usernames via API

excellent, thank you sir.
ok, I will remove the first OR statement.
and thank you for bringing tik4net to my attention. I was not aware that this class library existed (I had to adapter another c# class that I found online for my application, yet it is not as robust as tik4net).
by csrf
Sat Nov 23, 2019 10:31 am
Forum: Scripting
Topic: fetch a list of user-manager usernames via API
Replies: 3
Views: 1961

Re: fetch a list of user-manager usernames via API

ok, I believe I might have found an answer to my question, but I'd like to get some feedback on whether or not this is the best method... - for a given list of usernames: -- user1 -- user2 -- user3 ... userN Is it correct to do the following? /tool/user-manager/user/print ?username=user1 ?#| ?userna...
by csrf
Sat Nov 23, 2019 9:34 am
Forum: Scripting
Topic: fetch a list of user-manager usernames via API
Replies: 3
Views: 1961

fetch a list of user-manager usernames via API

I need to select a list of usernames (from user-manager) via the API. Basically, I want to pass a comma-separated list of usernames and see if they're valid/exist. I'd like to avoid having to run multiple 'print' commands for each user, or pull the entire list of users over the wire in order to loop...
by csrf
Sat Nov 23, 2019 5:08 am
Forum: The User Manager
Topic: Restart user manager service???
Replies: 2
Views: 2810

Restart user manager service???

Might be a dumb question, but is there a way to restart just the user-manager service/component/executable, without having to reboot the entire router, and/or kill the hotspot service? I'm running into some strange issues with the userman web GUI that I think might be solvable with a reboot. However...
by csrf
Sat Nov 23, 2019 4:58 am
Forum: The User Manager
Topic: custom language/translation not working
Replies: 1
Views: 2354

custom language/translation not working

There seems to be a bug/problem with user-manager in that I can't get it to correctly process my translation file. I downloaded the Spanish language file from here: https://wiki.mikrotik.com/wiki/User_Manager/Languages I then uploaded it to the root of the filesystem, and user manager does appear to...
by csrf
Sat Nov 23, 2019 4:51 am
Forum: General
Topic: show additional user properties in user-manager 'users' table?
Replies: 4
Views: 683

Re: show additional user properties in user-manager 'users' table?

If you create a user assign a profile to the user, when that user login and the profile is activated you will see the start and end date for the profile as well as the total data used. I tried testing this, but it didn't work. registration-time field isn't shown, and neither is total-transfer (FYI,...
by csrf
Thu Nov 21, 2019 3:09 am
Forum: General
Topic: show additional user properties in user-manager 'users' table?
Replies: 4
Views: 683

Re: show additional user properties in user-manager 'users' table?

Thanks for the reply...

Actually, those fields don't appear to be available.
see the attached screenshots.
uman1.jpg
uman2.jpg
uman3.jpg
Am I missing something? Please help...
by csrf
Wed Nov 20, 2019 2:23 pm
Forum: General
Topic: show additional user properties in user-manager 'users' table?
Replies: 4
Views: 683

show additional user properties in user-manager 'users' table?

Is there a way to show additional fields such as 'registration-date' and 'total transfer' within the 'users' table in user manager?
If not, can I please put this in as a feature request?

thanks
(FYI, I had already posted this question, but it appears it got swallowed up by the forum somehow)
by csrf
Wed Nov 20, 2019 7:34 am
Forum: Scripting
Topic: setting an absolute lifetime/limit on unused accounts. how to?
Replies: 0
Views: 1611

setting an absolute lifetime/limit on unused accounts. how to?

I'm relatively new to running Mikrotik/RouterOS. I need some advice on how to best solve the following problem. I've got a hotspot setup running user-manager. We generate & sell time-limited vouchers. here's an example user profile: - 3 hour max uptime - validity of 1 month - profile time limits...