Environment.UserName returning application pool name instead of username August 25, 2022 by Magenaut The following line