in reply to finding NT username
I'd use the Win32 Module that comes with ActivePerl
And just in case you need to check if the user is on NT
--=Lolindrath=--
$LoginName = Win32::LoginName
And just in case you need to check if the user is on NT
if ( Win32::IsWinNT ) { #Do Stuff }
--=Lolindrath=--
|
---|
In Section
Seekers of Perl Wisdom