|
I am writing an Active Directory query tool. I am unable to find a way to check if an account is disabled, expired, password must be changed at next logon, or locked out. Through my research I have found that this can be done using the UserAccountControl attribute in Active Directory. Any help or good suggestions would be appreciated. Thanks! |