Manual Chapter : Variable assign: domain plus username example

Applies To:

Show Versions Show Versions

BIG-IP APM

  • 15.0.1, 15.0.0
Manual Chapter

Variable assign: domain plus username example

A Tcl command that separates the values of two session variables with a backslash can provide the value for a domain and user name in this format
DOMAIN
\
USERNAME
.
Tcl expression in Variable Assign entry
A Tcl command in the
Custom Expression
pane provides the value for the custom variable,
session.sbc_domainuser
.
The custom expression
expr {[concat "[mcget {session.logon.last.domain}]\\[mcget {session.logon.last.username}]"]}
obtains the values of the session variables and concatenates them using a backslash as a separator. Both backslashes in the expression are needed to work with Tcl backslash substitution rules.