Hi I'm looking at maybe using:

 win32net.NetUserAdd(server, 1, d)

to create user directories under Documents and Settings on the local
machine, but don't know what they want for passwords.  I also don't
know if the users I want to create already have an account on their
campus domain controller.

Is there a way to add the user given just the username, and have it do
the right thing (use the domain controller's account or a local
account if that doesn't exist) most of the time?

I'm also having trouble with
  info = win32net.NetUserGetInfo(server, userName, 3)
No matter what username I give it, it can't find that user.

Also, Enumerating users always returns an empty set, even though I
have about 6 users set up on my machine.

Could I have a broken install?

Thanks,
-Jim
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to