User690216013 posted
Please suggest a way such that the variable is populated with the users username.
The value of REMOTE_USER is only set when many conditions are met together, so if you see an empty string you know why,
https://docs.microsoft.com/en-us/iis/web-dev-reference/server-variables