Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: finding NT username

by lolindrath (Scribe)
on Aug 25, 2000 at 16:50 UTC ( [id://29613]=note: print w/replies, xml ) Need Help??


in reply to finding NT username

I'd use the Win32 Module that comes with ActivePerl
$LoginName = Win32::LoginName

And just in case you need to check if the user is on NT
if ( Win32::IsWinNT ) { #Do Stuff }


--=Lolindrath=--

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://29613]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (9)
As of 2024-03-28 12:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found