Updated Date: 07/07/2026
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.
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.