list active directory group members
Posted on 2006-05-22
Im using this code to display the members of a specified group:
Set Group = GetObject("WinNT://" & strDomain & "/" & strGroup & ",group")
For Each User in Group.Members
This works fine except it only displays those users if they are in the same domain that the group is in. For example the group is in Domain1. If a user is also in Domain1 and belongs to the specified group then they will displayed. However if the user is in Domain2 it will not display them?!