in reply to Overlapped i/o operation
#!/usr/bin/perl use strict; use warnings; use Win32::NetAdmin qw( UserGetAttributes ); my $server = ""; my $username = 'username'; my $password = 'password'; my $passwordage = 0; my $privilege = USER_PRIV_USER; my $homeDir = 'c:\\'; my $comment = 'The home dir for user'; my $flags = UF_SCRIPT; my $scriptpath = 'C:\\'; Win32::NetAdmin::UserGetAttributes( "", $username, my $Getpassword, my $Getpasswordage, my $Getprivilege, my $GethomeDir, my $Getcomment, my $Getflags, my $Getscriptpath ); print "The home dir for user, $username is $homeDir\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Overlapped i/o operation
by kingjamesid (Acolyte) on Sep 14, 2009 at 02:24 UTC | |
by ikegami (Patriarch) on Sep 14, 2009 at 03:48 UTC | |
by kingjamesid (Acolyte) on Sep 14, 2009 at 16:34 UTC | |
by Khen1950fx (Canon) on Sep 14, 2009 at 04:50 UTC |