title: Setting logonHours property to lock unlock user accounts
body: <p>How do I set each bit of the logonHours property (which as 21 bytes) to either zero (for locking user account) or one (for unlocking) ? I have obtained the logonHours property in bytes as follows: </p>
  
  <pre><code>bytes[] logonHours = (byte[])de.Properties["logonHours"].Value;
  </code></pre>