smilanko_261688
Jul 28, 2016Cirrus
APM Check Account Status
Is it possible to perform a heck during AD query, to determine if the user account is enabled or disabled? I.e Here is a photo of the stage that I am referring to:
Sure. The attribute you are looking for is userAccountControl. Just make sure you add that to the list of attributes you query and compare the value.
Possible value examples: http://jackstromberg.com/2013/01/useraccountcontrol-attributeflag-values/