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.

Syntax

AUTH::last_event_session_id

AUTH::last_event_session_id

  • Returns the session ID of the last auth event

Examples

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