Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: userinfo on NT

by joefission (Monk)
on Jul 12, 2001 at 23:15 UTC ( #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
Node Status?
node history
Node Type: note [id://96151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2020-05-28 22:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (166 votes). Check out past polls.

    Notices?