Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 scrutinizing the Monastery: (18)
As of 2014-07-10 14:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (212 votes), past polls