laziness, impatience, and hubris | |
PerlMonks |
Re: Getting user information in NTby Necos (Friar) |
on Aug 13, 2002 at 17:24 UTC ( [id://189886]=note: print w/replies, xml ) | Need Help?? |
I'm surprised no one mentioned Win32::NetAdmin. There's a function called UserGetAttributes that will return everything that's in the Win32API::Net call. Also, just as a note, Windows will not return a password for a user (or at least I've never got it to return it for me). It's just a place holder for the underlying C/C++ call. Hope that helps some. Theodore Charles III Network Administrator Los Angeles Senior High 4650 W. Olympic Blvd. Los Angeles, CA 90019 323-937-3210 ext. 224 email->secon_kun@hotmail.com perl -e "map{print++$_}split//,Mdbnr;"
In Section
Seekers of Perl Wisdom
|
|