Does anyone know the answer to this?

I am trying to determine the account names for local accounts on a member
server, when running scripts from a workstation.

When you use $perm->Dump(  \@list  );

You get an array of references to a hash. To determine the keys of the hash
you can do something like

$account = $list[0];
while (( $key, $value) = each %$account)
{
        print "Key: \"$key\" Value: \"$value\"\n";
}

The list of keys are

        ObjectType, Flag, Mask, SID, ObjectName, Account, Entry, Access,
Domain, Type

The problem here is that the "Account" and "Domain" key only give values
when the account is a domain account, otherwise they are blank. I need to be
able to determine the name of the local group from the member server so that
they can be manipulated.

Here's hoping

Ron :-((


_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to