Home All Groups Group Topic Archive Search About

list all users in a group using ASP

Author
9 Feb 2006 1:58 PM
steven scaife
Hi i am creating an application and want to use active directory.

So far i have got (i have removed the domain name)

Set oRootDSE   = GetObject("LDAP://ou=Tech,ou=Finance,
ou=Staff,dc=server,dc=server,dc=server")'("LDAP://RootDSE")

for each vname in oRootDSE.getEx("name")
response.write vname
next
Set oRootDSE   = Nothing

What it does is list the name of the group Tech

I want to list the names of the people inside of that group can anyone help
me please

regards

Author
9 Feb 2006 2:35 PM
sl
Hi.  This should help :

http://www.msexchange.org/pages/article_p.asp?id=20

Near bottom - "UsersinOU()"

steven :: http://stevenR2.com

Show quoteHide quote
"steven scaife" <spam@nospam.com> wrote in message
news:%233Qo0DYLGHA.4060@TK2MSFTNGP10.phx.gbl...
> Hi i am creating an application and want to use active directory.
>
> So far i have got (i have removed the domain name)
>
> Set oRootDSE   = GetObject("LDAP://ou=Tech,ou=Finance,
> ou=Staff,dc=server,dc=server,dc=server")'("LDAP://RootDSE")
>
> for each vname in oRootDSE.getEx("name")
> response.write vname
> next
> Set oRootDSE   = Nothing
>
> What it does is list the name of the group Tech
>
> I want to list the names of the people inside of that group can anyone
> help me please
>
> regards
>
>
>