Group containing users from diff domain-how to display users

Please post questions or problems pertaining to integrating the ReadyNAS into your Windows domain or active directory environment.

Group containing users from diff domain-how to display users

Postby wordracr » Mon Mar 12, 2007 9:22 am

I'm currently using a vbs file which works for users in the same domain as the group, but for groups containing people in a different domain, the results are blank. Is there another way to extract the users out of the group?

Dim Group
Dim User

Set Group = GetObject("WinNT://" & strDomain & "/" & strGroup & ",group")
For Each User in Group.Members
.. s = s & vbCrLf & User.Name'.. is only to indent the line for this post
Next
wordracr
ReadyNAS Newbie
 
Posts: 1
Joined: Mon Mar 12, 2007 9:16 am

Return to Windows Domain and Active Directory



Who is online

Users browsing this forum: No registered users and 3 guests