How to create local users and groups on Windows using Ruby?

How do we create local system users and groups on Windows using Ruby? code
should be portable across different versions of Windows.

Regards,
Jatinder