Tim Golden wrote:
> | Working off a large-ish domain, I can't seem to find a form of:
> | 
> | import wmi
> | conn = wmi.WMI ()
> | stuff = conn.Win32_GroupUser ()
> | 
> | ... that doesn't enumerate the entire domain.
>
> I'm going to assume that you didn't intend the
> double-negative in the above. 
>   

Actually, I think he did.  Everything he tried enumerated the entire
domain, which is not what he wanted.  He wanted to query a subset only.

> Can you post a specific bit of code, just so I can
> see what you're doing, and indicate how many users
> you're expecting to get back and how many you actually
> get?
>   

What he posted was:

conn.Win32_GroupUser (GroupComponent = "Win32_Group.SID=sid_number")

Suggesting, perhaps, that he wanted only the users within a group with a given 
SID.

-- 
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