CGI's remote_user is simply
sub remote_user { return $ENV{'REMOTE_USER'}; } [download]
No difference.
In reply to Re^3: CGI getting htaccess userid by ikegami in thread CGI getting htaccess userid by cormanaz