Community discussions

MikroTik App
 
petterg
Member Candidate
Member Candidate
Topic Author
Posts: 225
Joined: Wed Sep 16, 2009 2:55 pm

VPN up/down scripts username variable

Mon Dec 14, 2020 1:21 pm

When writing a script to run when a vpn (dis)connects, is there any way for the script to know the username of the user who logged in or out?
 
User avatar
xvo
Forum Guru
Forum Guru
Posts: 1140
Joined: Sat Mar 03, 2018 1:12 am
Location: Moscow, Russia

Re: VPN up/down scripts username variable  [SOLVED]

Mon Dec 14, 2020 5:58 pm

$user
 
petterg
Member Candidate
Member Candidate
Topic Author
Posts: 225
Joined: Wed Sep 16, 2009 2:55 pm

Re: VPN up/down scripts username variable

Tue Dec 15, 2020 1:32 am

Oh. That was complicated. Thanks

Who is online

Users browsing this forum: No registered users and 53 guests