File permission dialog

  • Thread starter Thread starter Sharon
  • Start date Start date
S

Sharon

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.
Is there a way to query the domain controller?
Thanks.
 
Sharon said:
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.
Is there a way to query the domain controller?
Thanks.

Use the System.DirectoryServices namespace:

Dim entry As DirectoryEntry = New DirectoryEntry("LDAP://<DomainNameHere>")
For Each child As DirectoryEntry In entry.Children
' do something
Next
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top