ltm rule command AUTH last event session idΒΆ

iRule(1)		      BIG-IP TMSH Manual		      iRule(1)



AUTH::last_event_session_id
       Returns the session ID of the last auth event.

SYNOPSIS
       AUTH::last_event_session_id

DESCRIPTION
       This command returns the session ID of the last auth event, which can
       then be used to relate to the user behind each session.

       AUTH::last_event_session_id

	    * Returns the session ID of the last auth event

RETURN VALUE
VALID DURING
EXAMPLES
	when AUTH_SUCCESS {
	  if {$auth_id eq [AUTH::last_event_session_id]} {
	    log local0. "auth success event"
	    set authorized 1
	  }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-9.0.0 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)