Ask a Question related to ASP.NET Security, Design and Development.
-
Thauhtopa #1
List AD-Group Member AND WHOSE TRUSTED DOMAIN with WinNT
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
----------------------------------------------------------------------------
Thauhtopa Guest
-
Forms auth w/AD, web server not a member of domain
I want to use Forms Authentication and authenticate user credentials against active directory. Using advapi32.dll and LogonUser I am able to do... -
Win2003 cann0t access winnt server, same domain
OK this is a strange one THE NETWORK I use to have 2 NT 4 server. in this small network 1 - I installed a new server ( a third machine)... -
List of member for a group
In article <4486609B-253F-4EDF-A4F0-F8A2C97B43C5@microsoft.com>, anonymous@discussions.microsoft.com says... You can use the ds* command line tools... -
Domain rules, eventhough I am not a member anymore.
Move %windir%\security\database\secedit.sdb and the files in %windir%\security to a new directory. You need to be admin to do this. Then reboot. ... -
how to add user group member
Hi folks, I have problem when add user into group member with admintool it has been limited up to hundred...user (don't know how many) when i add... -
Thauhtopa #2
RE: List AD-Group Member AND WHOSE TRUSTED DOMAIN with WinNT
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
> ----------------------------------------------------------------------------Thauhtopa Guest



Reply With Quote

