in reply to Win32 Sample Code for checking if a user is in the group "Power Users" on a Windows (XP) machine?
a TIMTOWDI suggestion:
c:\>net localgroup "Power Users"
produces a list of user who are a member of that localgroup on my system. Perhaps you could parse the output?
#my sig used to say 'I humbly seek wisdom. '. Now it says:
use strict;
use warnings;
I humbly seek wisdom.
|
---|
In Section
Seekers of Perl Wisdom