troubleshooting Question

Query Domain Controller

Avatar of jaypappas
jaypappas asked on
VB Script
9 Comments1 Solution322 ViewsLast Modified:
On Error Resume Next
 
Set objGroup = GetObject _ 
  ("LDAP://CN=sharepoint users ,cn = users,DC=vancesecurity,DC=com")


objGroup.GetInfo
 
arrMemberOf = objGroup.GetEx("member")
 
WScript.Echo "Members:"



For Each strMember in arrMemberOf

  WScript.echo strMember

Next

Here is the Canonical Name
"vancesecurity.com/Centreville-Office/Information Technology/Sharepoint Users"

Attached is a sample screen shot of a member in this group

How do I change the
 ("LDAP://CN=sharepoint users ,cn = users,DC=vancesecurity,DC=com")

to query for members
sample-user.docx
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros