Hi Graham,
Graham Foster wrote:> I have a Perl administration script with automatically adds/removes
> users from Windows groups. I need to make some changes to how it works,
> and I was considering re-writing it in Ruby... however I cannot find the
> necessary packages. I''ve had a look at your win32utils - but
cannot find
> a section on permissions management. Do you know of one?
>
>
> I use the following Perl packages/methods
> Win32::NetAdmin::LocalGroupGetAttributes
> Win32::NetAdmin::LocalGroupCreate
> Win32::NetAdmin::LocalGroupIsMember
> Win32::NetAdmin::LocalGroupAddUsers
> Win32::NetAdmin::LocalGroupDeleteUsers
>
> Thx
> Graham
At the moment you should be able to use win32-etc for your purposes. Note that
I am in the process of adding support for adding, deleting and configuring
users and groups to the sys-admin package, which will supercede the win32-etc
package, so keep an eye out. :)
Regards,
Dan