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

groupIsType() public method

Check for a specific AD group type by its flag.
See also: LdapTools\Query\GroupTypeFlags
Deprecation: Use the group type schema attributes instead.
public groupIsType ( integer $flag ) : MatchingRule
$flag integer A constant from GroupTypeFlags
return LdapTools\Query\Operator\MatchingRule
    public function groupIsType($flag)
    {
        return $this->bitwiseAnd(self::ATTR['GROUP_TYPE'], $flag);
    }