cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
890
Views
0
Helpful
2
Replies

EEM scripting - trying to get the user

alex_ciobanu
Level 1
Level 1

Hello,

I am trying to implement an EEM scripting and I am trying to define an EEM Environment that can give me the output of the user who typed in a command. I cannot any system defined environments that can show me this...

You guys have any idea ?            

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

We only recently added this capability.  You need EEM 4.0 (15.2(2)T or higher) and the variable will be $_cli_username in an applet or the username element of the event_reqinfo array.

View solution in original post

2 Replies 2

Joe Clarke
Cisco Employee
Cisco Employee

We only recently added this capability.  You need EEM 4.0 (15.2(2)T or higher) and the variable will be $_cli_username in an applet or the username element of the event_reqinfo array.

Thanks a lot Joseph !

Review Cisco Networking for a $25 gift card