ltm rule command ACCESS uuidΒΆ

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

ACCESS::uuid
       Enumerates the session IDs that belongs to a specified uuid key by the order of its creation and provides them in a Tcl
       list.

SYNOPSIS
       ACCESS::uuid getsid SESSION_ID

       ACCESS::uuid ACCESS_UUID_COMMAND (ACCESS_UUID_INFO)?

DESCRIPTION
       Enumerates the session IDs that belongs to a specified uuid key by the order of its creation and provides them in a Tcl
       list. By default, the uuid created by AAC is using the following format.
	 * {profile_name}.{user_name}

       However, the admin can manually override this by specifying their own uuid key via assigning that value to
       session.user.uuid session variable. This can be done via iRule using ACCESS::session data set session.user.uuid or via VPE
       using Variable Assignment Agent. The return value of ACCESS::uuid getsid is a Tcl list. When there is no session ID
       associated with that uuid key, it will return an empty list.

       ACCESS::uuid getsid "{profile_name}.{user_name}"

	* Requires APM module

RETURN VALUE
VALID DURING
EXAMPLES
	when HTTP_REQUEST {
	    set apm_cookie_list [ ACCESS::uuid getsid "[PROFILE::access name].[HTTP::username]" ]
	    log local0. "[PROFILE::access name].[HTTP::username] => session number [llength $apm_cookie_list]"
	    for {set i 0} {$i < [llength $apm_cookie_list]} {incr i} {
		log local0. "MRHSession => [ lindex $apm_cookie_list $i]"
	    }
	}

	Jan 24 19
	Jan 24 19

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

BIG-IP							    2022-04-12							  iRule(1)