On 11/13/06, Tim Golden <[EMAIL PROTECTED]> wrote:
> <code>
> import wmi
>
> c = wmi.WMI ()
> sql_group = c.Win32_Group (Name="SQL_Adminstrators")
> sql_users1 = sql_group.associators (wmi_result_class="Win32_Account")
> # or, if you prefer
> sql_users2 = sql_group.associators
> (wmi_association_class="Win32_GroupUser")
> </code>

Although it may not answer the question I posted, it does answer an
unasked question about the way Windows WMI Does Stuff.

I shall attempt it tomorrow and see if it works, and how fast on our W2K domain.

Cheers!

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

Reply via email to