On 2/10/2004 10:41 AM, PerlDiscuss - Perl Newsgroups and mailing lists wrote:

Shouldn't it be possible to capture a list of users on a windows box by
only using the Win32::API module?  I am aware that Win32::NetAdmin and
Win32::AdminMisc have wrappers around C functions that accomplish this but
can someone show me how you would accomplish this using the Win32::API.
<br>
I assume the code would be something like:<br>
$NetUserEnum = new Win32::API("netapi32", "NetUserEnum",
['P','N','N','N','N','N','N','N'], 'P');
<br>
But I am unsure how to build a call to it.
<br>
Can someone help me out?

This is not an appropriate topic for this mailing-list. Please do not cross-post, especially to non-relevant lists.


Thanks,
Randy.




Reply via email to