title: adding a mail contact into AD
body: <p>I am looking for a bit of guidence on how to create mail contacts in AD.  This is a follow on question from <a href="https://stackoverflow.com/questions/1861336/adding-contacts-from-sugarcrm-into-exchange-using-net">SO Q#1861336</a>.  </p>
  
  <p>What I am trying to do is add a load of contact objects into an OU in Active Directory.  I've been using the examples on <a href="http://www.codeproject.com/KB/system/everythingInAD.aspx" rel="nofollow noreferrer">CodeProject</a>, however they only show how to make new user etc.  </p>
  
  <p>How do I create a contact using c#?  Is it similar to creating a new user but with different LDAP type attributes?</p>
  
  <p>My plan is to then run the enable-mailcontact cmdlet powershell script to enable Exchange 2010 to see the contact in the GAL.</p>
  
  <p>As you can see by my questions I don't usually deal with c# or Active Directory so any help/pointers would be really useful before I start playing with this loaded gun.</p>
  
  <p>Thanks,</p>
  
  <p>Grant</p>