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:
> ###
Title: win32net
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: ###