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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.