s/b
if( Win32::AdminMisc::GetGroups( "\\\\server", GROUP_TYPE_ALL, [EMAIL
PROTECTED] )
) {
But I can't test it right now... Note the difference being the
backslashes.
Steven
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Rosen
Sent: Tuesday, June 07, 2005 7:35 AM
To: [EMAIL PROTECTED]
Subject: Win32::AdminMisc::GetGroups returns nothing
Trying to get all groups from a particular machine, but this returns
nothing and will not even hit the 'else' portion. Seems to abort the
script.
if( Win32::AdminMisc::GetGroups( "server", GROUP_TYPE_ALL, [EMAIL PROTECTED] )
) {
print "The groups are:\n";
map { print "\t$_\n";} @list;
} else {
print "no\n";
}
Thanks.
_______________________________________________
Perl-Win32-Admin mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs