NT 4.0 Groups 
Author Message
 NT 4.0 Groups

NT 4.0 GroupsThe following script will accomplish this, but you must have ADSI installed on your system:

strGroupName = InputBox("Enter group name:")
Set objGroup = GetObject("WinNT://yourDomain/" & strGroupName)
For Each member In objGroup.Members
 MsgBox member.name
Next

Alternatively, you can replace 'yourDomain' with a member server or workstation machine name (for local groups).

  Is there a way to extract a users NT group membership using VB Script?



Sat, 13 Jul 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Determing Groups in VB Script NT 4.0

2. Groups info in NT 4.0

3. How can I read NT40 Global Groups in VB SCRIPT on NT 4.0

4. nt 4.0 global groups

5. create a local group (nt 4.0) ??

6. NT 4.0 find all members in all groups?

7. NT 4.0, user groups, PDC's, BDC's and IsMember

8. Retrieving the users in NT 4.0 and changing their global group

9. WSH on NT 4.0 Server without IE 4.0 (5.0)

10. How to find User Names in a domain and Security Group on a Win Nt 4.0 Machine/ NT 4.0 Sever.

11. Enum groups in groups (NT)

12. BUG: NT 4.0 Beta 2 + VB 4.0 OLE Servers

 

 
Powered by phpBB® Forum Software