RE: List AD-Group Member AND WHOSE TRUSTED DOMAIN with WinNT

From: Thauhtopa (Thauhtopa_at_discussions.microsoft.com)
Date: 12/07/04

  • Next message: Ollie: "windows pass through authentication\authorization...."
    Date: Tue, 7 Dec 2004 07:29:03 -0800
    
    

    I find a solution
    The Path give me the Domain (Winnt://...........)
    ----------------
    x.Path.ToString
    ----------------

    "Thauhtopa" wrote:

    > I need a List of GroupMember and the Domain where the Members come from.
    > Because I want to identify the Members from thr trused Domain.
    >
    > regards
    > Thauhtopa
    >
    > This Function VB.NET is running, but is missing the Domain from the Users:
    > -----------------------------------------------------------------------------
    > Private Function CompareMemberAccount(ByVal strADGroup As String) As String
    > Dim group As DirectoryEntry
    > Dim x As DirectoryEntry
    > Dim members As Object
    > Dim member As Object
    >
    > group = New DirectoryEntry("WinNT://" & strDomainTarget & "/" &
    > strADGroup)
    > members = group.Invoke("Members")
    > For Each member In members
    > x = New DirectoryEntry(member)
    > Console.WriteLine(x.Name)
    > Next
    > End Function 'CompareMemberAccount
    > ----------------------------------------------------------------------------


  • Next message: Ollie: "windows pass through authentication\authorization...."