Skip to content

UserId Criterion

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

Arguments

  • value - int(s) representing the User ID(s).

Limitations

The UserIdentifier Criterion is not available in Elastic search engine.

Example

1
$query->query = new Criterion\UserId([14]);