I’m trying to pass a variable to an Event Script. I have a script that executes when the Reset Fail Counter button is pressed for a token assigned to user. I see there are parameter check boxes that can be passed to the script, but the two user based parameters aren’t quite right. I’d like to pass the username of the account that the token is assigned to. The logged-in-user would work if we allowed users to reset their own fail counter, but we do not. I was hoping the --user parameter would work, but there is no user recorded when that is done.
So, is there a way to pass the username of the token owner to the script? If it helps, the event is “token_reset” and the condition is “token locked: false”.