LdapTools\Query\Builder\ADFilterBuilder::accountIsDisabled PHP Method

accountIsDisabled() public method

Checks for disabled accounts via a bitwise AND comparison on userAccountControl.
Deprecation: Use the disabled schema attribute instead.
public accountIsDisabled ( ) : MatchingRule
return LdapTools\Query\Operator\MatchingRule
    public function accountIsDisabled()
    {
        return $this->bitwiseAnd(self::ATTR['UAC'], UserAccountControlFlags::DISABLED);
    }