Hi Picho.
I it's more clear to me now.
What i need to do is query active directory, something like:
DirectoryEntry de= new DirectoryEntry(LDAP://serverAddress)
Thanks lots for your help.
Sharon.
"Picho" <SP********@telhai.ac.il> wrote in message
news:OW**************@TK2MSFTNGP15.phx.gbl...
Sharon please be specific.
there is a big difference in querying a local machine (WinNT:// protocol)
or a domain controller/active directory (LDAP:// protocol).
please tell me what is your main goal and the context of the problem.
Picho.
"Sharon" <ta*******@void.null> wrote in message
news:O%****************@TK2MSFTNGP12.phx.gbl... Is there a way to query the domain controller?
"Picho" <SP********@telhai.ac.il> wrote in message
news:eK**************@TK2MSFTNGP10.phx.gbl... Hi Sharon,
You could use DirectorySearcher with the "WinNT:" protocol to fetch all
usernames for the specific machine.
look it up under the DirectoryServices namespace and talk to me for
further help.
Picho.
"Sharon" <sh****@void.null> wrote in message
news:ev*************@TK2MSFTNGP15.phx.gbl...
> Hi.
> I need to implement a web based file permission dialog.
> For this i need to get the identities of all NT users.
> I can get the current identity, but have no idea of how to get all
> identities.
> Thanks.
>
>