what does mean with AccountExpirationDate?
<p>what does mean with AccountExpirationDate ?does this mean that accolunt will be deleted after this period?i want to delete the account programaticlly after a specific period.</p>

<p>here my code snippet :</p>

<pre><code>    void _createUserAccount(String User, String Pass, DateTime expirationDate)
{
    PrincipalContext pc = new PrincipalContext(ContextType.Machine);
    System.DirectoryServices.AccountManagement.UserPrincipal u = new UserPrincipal(pc);
    u.SetPassword(Pass);
    u.Name = User;
    u.Description = "New User";
    u.UserCannotChangePassword = true;
    u.PasswordNeverExpires = false;
    u.AccountExpirationDate = expirationDate;

    u.Save();
}
</code></pre>

<p>and in page_load ;i am calling this method:</p>

<pre><code>_createUserAccount(Request.QueryString["UserName"].ToString(), Request.QueryString["Password"].ToString(), Convert.ToDateTime(Request.QueryString["ExpireDate"].ToString()));
</code></pre>

<p>but after the period ended ;i checked the users account on my PC and found the account still exists.</p>

<p>any idea??</p>
