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
[
mcget
{
session.ntlm.last.domain
}]\\[mcget {
session.ntlm.last.username
}]
The expression 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.
Tcl expression in Variable Assign entry
Custom Variable domain user equals a Custom Expression
A Tcl command in the
Custom Expression
pane provides the value for the custom variable,
domainuser
.