in reply to How to fetch groups and users on a win2k system

You can also differentiate between Local and Global groups by just changing
#!/usr/bin/perl #coughcough use strict; use warnings; Win32::AdminMisc::GetGroups($Domain,GROUP_TYPE_ALL,\@Groups) Win32::AdminMisc::GetGroups($Domain,GROUP_TYPE_LOCAL,\@Groups) Win32::AdminMisc::GetGroups($Domain,GROUP_TYPE_GLOBAL,\@Groups)

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.