XP is just a number | |
PerlMonks |
Getting user information in NTby Anonymous Monk |
on Aug 13, 2002 at 10:12 UTC ( [id://189733]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I seek knowlegde from the Monks of infinite wisdom for the solution to my problem: I am trying to get user information, namely the name, to work in NT. The User module allows me to get the login name, but not the actual name. The getpwent etc. instructions only allow me to access the information in *nix Is there a separate password file in Windows that I am unable to access? In the home directory there is a ntuser.dat file that may contain useful information, but I cannot access it because the file is in use. Any information to help me would be gratefully accepted, but I am a fairly new user of the greatness that is perl, so I would appreciate little or no obfuscation around the answer! Thank you, Alex.
Back to
Seekers of Perl Wisdom
|
|