how to get expiration date of local windows account?
<p>I need to create C# method like this :</p>

<pre><code>    void deleteExpiredAccounts(String Account,dateTime expirationDate)
    {
      if(expirationDate == DateTime.Now)
      {
        DirectoryEntry localDirectory = new DirectoryEntry("WinNT://" + Environment.MachineName + ",computer"); 
        DirectoryEntries users = localDirectory.Children;
        DirectoryEntry user = users.Find(Account); 
        users.Remove(user);
      }
    }
</code></pre>

<p>any idea will be appreciated..thanks in advance!</p>
