title: How I get Active Directory User Properties with System.DirectoryServices.AccountManagement Namespace?
body: <p>I want do get Active Directory Properties from a user and I want to use <code>System.DirectoryServices.AccountManagement</code>.</p>
  
  <p>my code:</p>
  
  <pre><code>public static void GetUserProperties(string dc,string user) 
          {
              PrincipalContext ctx = new PrincipalContext(ContextType.Domain, dc);
              UserPrincipal u = UserPrincipal.FindByIdentity(ctx, user);
  
              string firstname = u.GivenName;
              string lastname = u.Surname;
              string email = u.EmailAddress;
              string telephone = u.VoiceTelephoneNumber;
  
              ...//how I can get company and other properties?
          }
  </code></pre>