Teodor Ivanov wrote:
> The statement '"global group" can only contain domain users' is true only for
> MS domains running in mixed mode ( I mean the OS of primary domain controller
> is
> Windows 2000 or 2003 ), but if it is in native 2000 or native 2003 mode, then
> the global security groups c
Tim Roberts probo.com> writes:
>
> Wolf, Matthias ALRT/ELD wrote:
>
> >Thanks for your answer!
> >
> >You are right, but in the group 'GROUP' are users and groups and I want to
receive both. Probably I need
> something like "win32net.NetGroupGetGroups" instead of
"win32net.NetGroupGetUsers". Is
Wolf, Matthias ALRT/ELD wrote:
>Thanks for your answer!
>
>You are right, but in the group 'GROUP' are users and groups and I want to
>receive both. Probably I need something like "win32net.NetGroupGetGroups"
>instead of "win32net.NetGroupGetUsers". Is there any possible way to realise
>this?
>
Try something like:
>>> import win32net
>>> win32net.NetGroupGetUsers(win32net.NetGetAnyDCName(), 'domain users', 1)
Mark
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Wolf, Matthias ALRT/ELD
Sent: Thursday, 7 September 2006 11:55 PM
To: python-win32@py
Wolf, Matthias ALRT/ELD wrote:
> Hallo,
>
> I try to print every member of a windows doamin-group, the username as
> well as the group
> name. But I just receive the usernames and no groupnames, where is my
> fault?
>
> Here is a small codesnip from a large script of attemps.
>
>
> codesnip:
Wolf, Matthias ALRT/ELD wrote:
> Hallo,
>
> I try to print every member of a windows doamin-group, the username as
> well as the group
> name. But I just receive the usernames and no groupnames, where is my
> fault?
>
> Here is a small codesnip from a large script of attemps.
>
>
> codesnip:
> ###