Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: userinfo on NT

by joefission (Monk)
on Jul 12, 2001 at 23:15 UTC ( [id://96151]=note: print w/replies, xml ) Need Help??


in reply to userinfo on NT

One with Win32::AdminMisc...

use Win32::AdminMisc; use strict; $|=1; my $domain = "MasterDomain"; my $userid = shift; my %attribs = (); chomp $userid; print "$userid\t\t"; if (Win32::AdminMisc::UserGetMiscAttributes($domain, $userid, \%attrib +s)) { print "$attribs{USER_FULL_NAME}\n"; }else{ print "not found\n"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://96151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-24 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found