Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: finding NT username

by lolindrath (Scribe)
on Aug 25, 2000 at 16:50 UTC ( #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=--


Comment on Re: finding NT username
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2014-08-20 05:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (105 votes), past polls