title: Active Directory - check if password never expires?
body: <p>Is there a way in Visual Basic to check if the user's password is set to never expire in Active Directory?</p>
  
  <p>I've found a way to find the last date it was changed, but I can't find the other available options.</p>
  
  <pre><code>Dim de As DirectoryServices.DirectoryEntry = GetUser(uDetails.username)
  Dim objUser = GetObject(de.Path)
  If objUser.PasswordLastChanged &lt; DateTime.Now.AddMonths(-3) Then
  ...
  </code></pre>
  
  <p>Where can I find a list of all available <code>objUser</code> properties?</p>