In Active Directory there is a field that implements that shows the status the account as well as much more data.
In this case if userAccountControl user attribute equals 2, then the account is disabled.
The only issue is that the user may not be allowed to do a simple_bind if the account is disabled.
In Active Directory there is a field that implements that shows the status the account as well as much more data.
In this case if userAccountControl user attribute equals 2, then the account is disabled.
The only issue is that the user may not be allowed to do a simple_bind if the account is disabled.
http:// support. microsoft. com/kb/ 305144/ en