ltm rule command ACCESS2 access2 procΒΆ

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

ACCESS2::access2_proc
       This command is used to get the TCL procedure registered for currently executing per-request policy
       expression.

SYNOPSIS
DESCRIPTION
       This command will return the TCL procedure registered for currently executing per-request policy expression.
       This procedure will then be invokes in the hidden iRule to evaluate the expression (which is the procedure
       body).

RETURN VALUE
VALID DURING
EXAMPLES
	when ACCESS2_POLICY_EXPRESSION_EVAL {
	    set access2_proc [ACCESS2::access2_proc]
	    set ret [catch {call $access2_proc} my_result]
	    return -code $ret $my_result
	}

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

BIG-IP						      2020-06-23					     iRule(1)