[James Matthews]
[... re WMI Win32_GroupUser etc. ]
> There should be a central site with all this information!
Well, not that I disagree with you as such, but it depends
on what exactly your "all this" encompasses. ;)
Nearly all of the questions to the list about WMI are
really WMI questions,
There should be a central site with all this information!On 11/13/06, Tim Golden <[EMAIL PROTECTED]> wrote:
Tim Roberts probo.com> writes:
>> 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_G
Tim Roberts probo.com> writes:
>
> 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
On 11/13/06, Tim Golden <[EMAIL PROTECTED]> wrote:
>
> 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="W
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 abov
| Has anyone had any successes with Tim Golden's wmi module and
| the somewhat evil Win32_GroupUser WMI object?
Well I can't say that I had, but I started to look
around when you asked and there do seem to be a few
caveats:
1) Win32_GroupUser is an association between Win32_Group and
Win32_Accou
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