James Carroll wrote:
i = win32net.NetUserEnum('',0,0)
          

That's It!

I was thinking the third parameter would give me more information if
it was a bigger number (I copied a 3 from the win32netdemo.py) but
just having a 0 there gives me all the users I was hoping for.
  

MSDN is your friend here.  It is the SECOND parameter to NetUserEnum that identifies how much information to return.  The THIRD parameter is a set of filters that restricts the list of users to return.
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to