The HTTP_SM_USER can be get from all_http, but when access it directly, it's empty.
Version 12.8.06
Webagent on IIS
Underscore in the header name seems not to be welcomed in many web servers.
1. Set ACO (agent configuratioin objects) LegacyVariables=no
2. Access the header as HTTP_SMUSER
Sample asp code:
<%
Dim headerName
headerName = "HTTP_SMUSER" ' Specify the name of the header you want to retrieve
Dim headerValue
headerValue = Request.ServerVariables(headerName)
If headerValue <> "" Then
Response.Write("Header " & headerName & " has value: " & headerValue)
Else
Response.Write("Header " & headerName & " not found or is null.")
End If
%>
Other considerations:
1. certificate-based authentication will not have a user name
2. The default headers in https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/siteminder/12-8/configuring/web-agent-configuration/web-application-protection/default-http-headers-used-by-the-product.html are request headers, not response headers, i.e. cannot get them from browser, can only get them on server side (by the web application)