Don't show disabled accounts


If a user account is disabled in Active Directory (e.g. if the employee leaves the company), that person should not be shown in the chart view.
From discussion: http://www.codeplex.com/headlinx/Thread/View.aspx?ThreadId=44134


ds7 wrote Jan 17, 2009 at 8:43 AM

This is what I found investigating this problem so far:
I believe that to exclude disabled accounts, the LDAP query needs to filter user objects based on the userAccountControl attribute value. This attribute is described here: http://msdn.microsoft.com/en-us/library/ms680832.aspx. The bit we should check for is ADS_UF_ACCOUNTDISABLE (2).

wrote Feb 2, 2013 at 3:35 AM