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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Win32 Sample Code for checking if a user is in the group "Power Users" on a Windows (XP) machine? (Win32API::Net)
by tye (Sage) on Oct 24, 2009 at 08:11 UTC | |
Re: Win32 Sample Code for checking if a user is in the group "Power Users" on a Windows (XP) machine?
by romandas (Pilgrim) on Oct 24, 2009 at 13:08 UTC | |
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 15:16 UTC |
Back to
Seekers of Perl Wisdom