printing a list of security group members

  • Thread starter Thread starter Jason Gallas
  • Start date Start date
J

Jason Gallas

Any way to print a list of members of a security group? I'm talking
specifically about ADUC on a Windows 2000 Server.
 
If you are familiar with VB script you could try this:

Set objGroup = GetObject _
(LDAP://cn=mygroup,ou=myou,dc=mydomain,dc=com)

For each objMember in objGroup.Members
Wscript.Echo objMember.Name
Next


--Jeff
 
Nevermind, I just typed the names out it was faster ;-)

: If you are familiar with VB script you could try this:
:
: Set objGroup = GetObject _
: (LDAP://cn=mygroup,ou=myou,dc=mydomain,dc=com)
:
: For each objMember in objGroup.Members
: Wscript.Echo objMember.Name
: Next
:
:
: --Jeff
:
:
 
Back
Top