Re: ADSI API to return all memebers of the group including members of
by manup_us@[EMAIL PROTECTED]
Oct 14, 2008 at 01:25 PM
On Oct 13, 12:42=A0pm, "Joe Kaplan"
<joseph.e.kap...@[EMAIL PROTECTED]
> wrote:
> I'm not sure what to tell you. =A0I don't program with ADSI directly and
> typically use the .NET APIs.
>
> I'd suggest reverse engineering Microsoft's assembly with a tool like
> Reflector to see how they accomplished this.
>
> --
> Joe Kaplan-MS MVP Directory Services Programming
> Co-author of "The .NET Developer's Guide to Directory Services
Programmin=
g"http://www.directoryprogramming.net
> --
>
> Thanks Joe,
> =A0I tried to write it using ADSI APIs but it works only if =A0-
> 1. Only two level of nesting used. example it will work if User is in
> Gp1 and Gp1 is in Gp2. If I go one level further get__NewEnum on the
> group returns me empty variant.
> 2. and works only when Gp1 is Global and Gp2 is Domain local. Again
> get__NewEnum on the group returns empty variant if both Gp1 and Gp2
> are Domain local groups.
>
> Thanks
Thanks Joe.