Community discussions

MikroTik App
 
mario7337
just joined
Topic Author
Posts: 6
Joined: Sat Apr 04, 2020 4:09 pm

GET PROFILE FROM RADIUS

Wed Mar 24, 2021 2:26 pm

Hi all,
I'm having a strange problem. I'm running a script on logout that takes the profile's name associated with user, specifically i run this command:
[/tool user-manager user get number=[/tool user-manager user find username=$username] actual-profile]
The problem is that [/tool user-manager user find username=$username] returns me more then 1 value. I got *6;*8;*9;*A;*B. But the exact value is *a.
The strangest thing is that I execute this command also on user login and it works!
Can someone help me please?
Thank you

Who is online

Users browsing this forum: alexantao and 27 guests