in reply to Re: List of groups on Win32
in thread List of groups on Win32
#!/usr/bin/perl -w
use Win32::AdminMisc qw(GetDC GetGroups);
my $dc;
my @groups;
$dc = GetDC();
GetGroups($dc, GROUP_TYPE_ALL, \@groups);
my $item;
foreach $item(@groups) {
print "$item\n";
}
I get an error message:
bash-2.02$ perl dominfo.pl "GetDC" is not exported by the Win32::AdminMisc module at dominfo.pl line 3 "GetGroups" is not exported by the Win32::AdminMisc module at dominfo.pl line 3 Can't continue after import errors at dominfo.pl line 3 BEGIN failed--compilation aborted at dominfo.pl line 3. bash-2.02$
I'm not up on how perl modules and such work, so I don't know how to fix this :-(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Thanks
by arturo (Vicar) on Feb 16, 2001 at 20:03 UTC | |
|
Win32:: modules (Re: Thanks)
by tye (Sage) on Feb 16, 2001 at 20:02 UTC | |
|
Re (tilly) 1: Thanks
by tilly (Archbishop) on Feb 16, 2001 at 20:07 UTC | |
|
Re: Thanks
by baku (Scribe) on Feb 16, 2001 at 19:56 UTC |