Skip to content

UserLogin Criterion

The UserLogin Search Criterion searches for content based on the User ID.

Arguments

  • value - string(s) representing the User logins(s).
  • operator - operator constant (IN, EQ, LIKE).

Example

1
$query->query = new Criterion\UserLogin(['johndoe']);
1
$query->query = new Criterion\UserLogin('adm*', Criterion\Operator::LIKE);
Read the Docs