[python-win32] Creating users
Tim Roberts
timr at probo.com
Wed Mar 8 19:13:13 CET 2006
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, timr at probo.com
Providenza & Boekelheide, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20060308/ae23526d/attachment.htm
More information about the Python-win32
mailing list