Get all domain users

  • Thread starter Thread starter S. Hussain Akbar
  • Start date Start date
S

S. Hussain Akbar

In my internal-use apps, I need the usernames. In non-Net ASP, I could fetch
them from the Domain users list using:

Set objDomain = GetObject("WinNT://MyDomain,domain")
objDomain.Filter = Array("user")
For Each objUser In objDomain
Response.Write "<TR>" &
"<TD>" & objUser.Name & "</TD>" & _
"<TD>" & objUser.FullName & "</TD>" & _
"<TD>" & objUser.Description & "</TD>" & _
"</TR>"
Next

What's the equivalent in ASPNET?
 
Your post went unanswered. Have you resolved this issue? If you still need
help, please post the original question with your request.
 
Back
Top