http://www.perlmonks.org?node_id=802931

matze77 has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks!
How could i determine if a given user aka "Bob" (he is a member of the active directy domain) would be a "Power User" on a Windows XP machine .
(the german Term is "Hauptbenutzer" if i translated wrong ...).
Does someone have any useful sample code, which modules to use?.

Step B:
If this given user is not a "Power User" on the machine how could i add him to the (Local Machine Group) "Power Users"?
I have to use Something Like Win32::API:NET (LocalGroupGetMembers)? Would be really kind if someone got a little sample code wich i could modify for my needs ...

Thanks in Advance MH