Mutsje
Admin
| Posts: 468 |  |
|
Getting Members or a group - 2006/11/30 13:46
Currently I am working on a project were I read the groups from a txt file and then use Set objGroup = GetObject ("LDAP://cn="""& strGroup &""",ou=customer groups,dc=domain,dc=local")
But when I get to the part
objGroup.GetInfo
arrMemberOf = objGroup.GetEx("member")
It blows with the error "Active Directory: The directory property cannot be found in the cache"
I searched google and most solutions point to typo errors. However my script blows on the part that the group is empty. If the group has members inside the script runs fine?
Any scripting guru out here that can help me?
GPO adicted |