[ANN] win32-etc 0.2.0

D

Daniel Berger

Hi all,

I'm pleased to announce the release of win32-etc 0.2.0

What's new?
===========
This release adds the "Admin" submodule, which includes administrative
methods to add and delete users and groups. It also provides a method
for changing passwords.

Synopsis
========
require "win32/etc"
include Win32
include Etc

Etc::Admin.add_user(
:user_name => "some_user",
:password => "abc123def",
:home_dir => "C:\\foo_user",
:description => "random text",
:host => "\\some_machine",
:flags => Admin::ACCOUNTDISABLE
}

Etc::Admin.change_password("abc123def","hello","some_user")
Etc::Admin.delete_user(user,host)

Etc::Admin.add_group(
:group_name => "foo",
:description => "Test Group",
:local? => true,
:users => %w/matz guido larry/
)

Where is it?
============
It can be found on the RAA or on the project home page at
http://rubyforge.org/projects/win32utils/

Enjoy!

The Win32 Utils Team
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] win32-mmap 0.2.0 4
[ANN] win32-pipe 0.2.0 0
[ANN] win32-process 0.2.0 0
[ANN] win32-etc 0.1.0 0
[ANN] win32-open3 0.2.0 0
[ANN] win32-security 0.1.0 0
[ANN] win32-file-stat 0
[ANN] win32-file 0.2.0 0

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top