Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Win32 Sample Code for checking if a user is in the group "Power Users" on a Windows (XP) machine?

by goibhniu (Hermit)
on Oct 26, 2009 at 19:16 UTC ( #803329=note: print w/replies, xml ) Need Help??


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.
  • Comment on Re: Win32 Sample Code for checking if a user is in the group "Power Users" on a Windows (XP) machine?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://803329]
help
Chatterbox?
[jedikaiti]: Hanging in there, Discipulus - you?
[Discipulus]: ah fine! released my first Dancer website, and today it's a special day
[Discipulus]: my son finished 18 today

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2018-01-18 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (214 votes). Check out past polls.

    Notices?