How to Read System Domains in C#?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • UmairP
    New Member
    • Aug 2008
    • 3

    How to Read System Domains in C#?

    Hi there,
    I am developing a desktop application that has a form that shows Domain on a System/ Network.The System.Environm ent.UserDomainN ame only tells the current user's domain. I want to see all the available domains and all the users under those doamain.
    I want to know how can I read Domains in C#.
    Regards,
  • tatkosmurff
    New Member
    • Sep 2008
    • 5

    #2
    you will nead the LDAP in order to achieve this.

    Comment

    Working...