Home All Groups Group Topic Archive Search About

System.DirectoryServices and WinNT provider

Author
6 Jun 2006 5:14 AM
Trevor Lawrence
I am trying to clean up the remnants of an old NT4 domain and am trying to
create a DirectoryEntry object referring to an NT4 group via the WinNT
provider.  That part works fine, but I cannot find a way to get the
membership of the group.  The same kind of operation works fine on members
of an AD group via the AD LDAP provider.

Anyone know how I might get NT4 group members without using Interop?

Trevor

Author
7 Jun 2006 4:54 AM
Marc Scheuner
>I am trying to clean up the remnants of an old NT4 domain and am trying to
>create a DirectoryEntry object referring to an NT4 group via the WinNT
>provider.  That part works fine, but I cannot find a way to get the
>membership of the group.  The same kind of operation works fine on members
>of an AD group via the AD LDAP provider.
>Anyone know how I might get NT4 group members without using Interop?

You won't be able to do that, I'm afraid. The WinNT provider only
gives you the group membership by calling the .Members method on the
IADsGroup interface.

Marc
Author
7 Jun 2006 6:47 AM
Trevor Lawrence
I feared as much.

Trevor

Show quote
"Marc Scheuner" <no.spam@for.me> wrote in message
news:kumc82luuhp3p48ns37vlrfi9nbg62n6ph@4ax.com...
> >I am trying to clean up the remnants of an old NT4 domain and am trying
> >to
>>create a DirectoryEntry object referring to an NT4 group via the WinNT
>>provider.  That part works fine, but I cannot find a way to get the
>>membership of the group.  The same kind of operation works fine on members
>>of an AD group via the AD LDAP provider.
>>Anyone know how I might get NT4 group members without using Interop?
>
> You won't be able to do that, I'm afraid. The WinNT provider only
> gives you the group membership by calling the .Members method on the
> IADsGroup interface.
>
> Marc

AddThis Social Bookmark Button