I have used the win32net, win32netcon, win32api modules to create users. Function
below does the job - where the input dictionary (dict) is of the form:
d = {'Login':'user',
'FullName':'abc def',
'Desc':'some descriptioni',
'Password':
A number of useful functions for WMI (or MS WBEM?) are in the attached file.
Unfortunately there is not a specific function to create a user. Check
MSDN/Platform SDK/Setup and Sys Administration/WMI/WMI Refs... or search for
Win32_UserAccount
Cheers
Andrew
-Original Message-
From: Noa