We need to run UCASE against the value to convert it to upper case. However, that can only be done in a Virtual Attribute. This means we need to create a Named Expression. The Named Expression is configured as a Virtual Attribute. It calls the attribute from the user directory, then runs UCASE against it. The Response calls the named Expression.
1) Configure a Named Expression
a) Select the 'Virtual Attribute' radio button.
-> Expression Name will be prefixed with "#"
b) Name the Named Expression
-> example: #SSOHeaderNamedExpression
c) Configure the following Expression:
2) Configure a Response
a) Response Attribute: WebAgent-HTTP-Header-Variable
b) Attribute Kind: Expression
c) Configure a Variable Name
c) Configure the name of the Named Expression in the Expression field.
Script (Resulting): SSOHEADER=<$expr="#SSOHeaderNamedExpression" $>
In this example the user attribute is named "sSOHeader", and the value is in lower case. The Named Expression "#SSOHeaderNamedExpression" is calling the user attribute "sSOHeader" and running UCASE against the result. The Response is an expression calling the named expression. The result is the header attribute gets printed in upper case.
User Attribute: sSOHeader
Attribute Value: user2
Resulting HTTP Header: HTTP_SSOHEADER:ADUSER2