title: flex air app - Get User's AD domain
body: <p>Using Flex 4 / Air 2.0.3</p>
  
  <p>Is it possible to get the active directory domain name associated with the logged on user?</p>
  
  <p>This page (<a href="https://stackoverflow.com/questions/1376/get-the-current-logged-in-os-user-in-adobe-air">Get the current logged in OS user in Adobe Air</a>) shows the user name can be inferred from the user directory folder name, however is there a way to get the domain name?  (This is assuming the user is part of a domain!)</p>
  
  <p>Assuming I am part of a domain "office" and my login is "j.jones", I want to retrieve both the "j.jones" and the "office" parts.</p>
  
  <p>Thank you,</p>
  
  <p>Jonsie</p>