[python-win32] Win32_GroupUser

Nathan nathan.jeffrey at gmail.com
Mon Nov 13 17:23:51 CET 2006


Hey all,

Has anyone had any successes with Tim Golden's wmi module and the somewhat evil Win32_GroupUser WMI object?

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.  That includes :

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

... and quite a few conceiveable permutations.

If anyone has working example code, I promise to buy you a beer and post a summary.

--
- Nathan


More information about the Python-win32 mailing list