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?.
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 ...
Snippets of code should be wrapped in
<code> tags not<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor