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: Noah [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 10:35 PM
To: [EMAIL PROTECTED]
Subject: Creating a user with Python
Does anyone have sample code to create a user
on a local or a remote NT machine?
I'm trying to sort through this WMI stuff
because it seems like that would allow me to
create a user on a local or a remote machine,
but it's taking forever to figure out where
to start.
Anyone have experience with WMI and Python?
Yours,
Noah
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython
wbem.py