Community discussions

MikroTik App
 
thexwarrior
just joined
Topic Author
Posts: 1
Joined: Fri Sep 08, 2017 4:05 pm

How to get user data from usermanager database?

Sat Sep 09, 2017 9:44 am

Hi, can anybody tell me how to get specific user data from usermanager database? In example, there's username: newbie and contain firstname, lastname, phone etc. How I can get those data using script?

Thank you. :)

Image
 
User avatar
ahmedalmi
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Sat Sep 13, 2014 5:52 pm
Location: sana'a yemen
Contact:

Re: How to get user data from usermanager database?

Mon Sep 18, 2017 6:04 pm

Code: Select all

/tool user-manager user print where username=newbie
or if you want to get some data like first-name

Code: Select all

:put [/tool user-manager user get [find username=newbie] first-name]

Who is online

Users browsing this forum: No registered users and 10 guests