title: userAccountControl in Active Directory
body: <p>I want to know the current value of the userAccountControl and determine which stage it is in</p>
  
  <p>Ref:  <a href="http://support.microsoft.com/kb/305144/en-us" rel="noreferrer">http://support.microsoft.com/kb/305144/en-us</a> </p>
  
  <p>According to the above documentation, it should return the values which are 2 to the power N.</p>
  
  <p>But when I run my c# program it returns the value 544 for the normal account and 546 for the disabled account.  I suspect that they are decimal numbers.  But how I could link back to the values as shown in the reference?</p>
  
  <p>Thanks.</p>