printing a list of security group members


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.
 
Ad

Advertisements

J

Jeff

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
 
Ad

Advertisements

J

Jason Gallas

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
:
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top