No such thing as a small change | |
PerlMonks |
Re: (3) Win32 local users and groups modulesby AcidHawk (Vicar) |
on Nov 24, 2003 at 18:53 UTC ( [id://309632]=note: print w/replies, xml ) | Need Help?? |
Hi, I looked in my Roths Win32 Perl Scripting book and found several references to backing up and restoring machine and user accounts (pg 129). Also chapter 2 talks about Account Maintenance. I could only find a small reference on pg 200 that talks about group membership. I'll type it up if you like. Most of the scripts relating to user and group stuff is Lanman though, maybe worth a look..? (Btw I think Jenda is responsible for this..) This may also be worth a look.. I then looked at my Roths Win32 Perl Programming bookand think I found what you are looking for. On page 126 there is a section about Group Account Management which talks about Adding groups and adding users to groups. So here is a quick snippet. it uses win32::netadmin.
Update: cpan:Win32::NetAdmin does have the following which may help and as well as and HTH.. ----- Of all the things I've lost in my life, its my mind I miss the most.
In Section
Seekers of Perl Wisdom
|
|