Thanks for the reply we are looking into the security issue. I know we do not want the web server to be an DC. But I can get GC to work if the server is a DC so until we fixed the security issue we are going to leave it that way.
I do have one last question. I am having a little issue with an GC query.
select cn from 'GC://CN=~Account Closing Request,OU=IAMS,DC=opc,DC=cnbwv,DC=local'
This is the Actual String I am using to access the security group within an OU on our domain. When I access it, I can pull the name and basic information about the group.
The question is how would I write a Query using GC to list all the members of this group.
I don't think you can get a list of members using an LDAP query. But try something like this:
Code:
groupldap="CN=~Account Closing Request,OU=IAMS,DC=opc,DC=cnbwv,DC=local"
Set objGroup = GetObject ("GC://"&groupldap&"")
For each objMember in objGroup.Members
...
put you code here...
reponse.write objMember.CN
...
next
Set objGroup=nothing
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.