Yes, figured that one out, that was in fact the issue, but Thank you.
 
Ertug
----- Original Message -----
From: joe
Sent: Friday, January 28, 2005 5:10 PM
Subject: RE: [ActiveDir] VB Script

By any chance is domain admins the primary group of the user who is absent? If so, this is by design. Primary group membership i snot maintained like normal group membership, it is held in a specific attribute of the user, not the groups.
 
  joe


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ertug Gurhan
Sent: Friday, January 28, 2005 10:43 AM
To: [email protected]
Subject: [ActiveDir] VB Script

I have a VB script that queries the Domain Admins group for memebership, but when I run it, it fails to extract all memebers, 1 user n specific, any ideas?
 
Thank you
 

strComputer = "."

Set objGroup = GetObject("LDAP://cn=Domain Admins,ou=Groups,ou=Firm,dc=xyx,dc=corp")

For each objMember in objGroup.Members

Wscript.Echo objMember.DistinguishedName

Next

Reply via email to