The UserId
Search Criterion
searches for content based on the User ID.
value
- int(s) representing the User ID(s)
$query->query = new Criterion\UserId([14]);
=== "XML"
```xml
<Query>
<Filter>
<UserIdCriterion>14</UserIdCriterion>
</Filter>
</Query>
```
=== "JSON"
```json
"Query": {
"Filter": {
"UserIdCriterion": "14"
}
}
```