in reply to finding NT username

I'm not sure how this works in NT, but if you use CGI.pm, you can get the username via
$cgi_object->remote_user()
HTH
//mikkoH