|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: How to get system user name from windows using perlby Anonymous Monk |
| on Nov 10, 2011 at 12:32 UTC ( #937365=note: print w/ replies, xml ) | Need Help?? |
|
my name and acronym and department e.t.c. how can I get that name directly from windows system. Never heard of a windows system maintaining such information, but if you can retrieve it from the registry, you could use Win32::TieRegistry Also, %ENV contains lots of information, like USERPROFILE...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||