title: get user names in an Active Directory Group via .net
body: <p>The below code gets me the users in the group but it is returned
  <code>"CN=johnson\,Tom,OU=Users,OU=Main,DC=company,DC=com"</code></p>
  
  <p>I want to just return the First and Last name. How can I accomplish this?</p>
  
  <pre><code>DirectoryEntry ou = new DirectoryEntry();
  DirectorySearcher src = new DirectorySearcher();
  
  src.Filter = ("(&amp;(objectClass=group)(CN=Gname))");
  SearchResult res = src.FindOne();
  if (res != null)
  {
      DirectoryEntry deGroup = new DirectoryEntry(res.Path);
      PropertyCollection pcoll = deGroup.Properties;
  
      foreach (object obj in deGroup.Properties["member"])
      {
              ListBox1.Items.Add(obj.ToString());
      }
  }
  </code></pre>