Good day experts,
I'm trying to query active directory with vbscript to get the membership information of a specific group.
Using an application called dsa.msc I can query this information manually but I need to follow a more automated approach using vbscript.
SO what I need my script to do now, is get all the members for a given group name.
I currently have the following sample:
Set objGroup = GetObject _
("LDAP:// SOMETHING MUST GO HERE")
arrMemberOf = objGroup.GetEx("member")
For Each strMember in arrMemberOf
I just cannot get the correct parameters specified in the "LDAP:// ..... " command to get results. Surely, if I can access the required info with dsa.msc then I should have all the necessary connectivity, access and info to run this query - I just don't know what to put in.