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

accountIsLocked() public method

Checks for locked accounts via a comparison on the lockoutTime attribute.
Deprecation: Use the 'locked' schema attribute instead.
public accountIsLocked ( ) : Comparison
return LdapTools\Query\Operator\Comparison
    public function accountIsLocked()
    {
        return $this->gte(self::ATTR['LOCKOUT_TIME'], 1);
    }