Yes, GlideFilter is used in the `recurseUser()` function to dynamically build the query for the `sys_user` table. Here's the relevant code snippet:
```
function recurseUser(manager, level, maxLevel, userList) {
var emp = new GlideRecord('sys_user');
var filter = new GlideFilter('OR');
var filter1 = filter.addQuery('manager', manager);
var filter2 = filter.addQuery('sys_id', manager);
filter1.addOrCondition('sys_id', manager);
emp.addEncodedQuery(filter.getXML());
emp.addQuery('active', true);
emp.query();
// Rest of the code...
}
```
In this code, we first create a new `GlideFilter` object called `filter` and add two query conditions to it. The first query condition is `manager =
Next, we create a new `GlideRecord` object for the `sys_user` table and use `addEncodedQuery()` to set the query to the XML representation of the `filter` object. This dynamically builds the query based on the `filter` object.
Finally, we add the `active` query condition to filter out inactive users and query the `sys_user` table.
I hope this clarifies where GlideFilter is being used in the query. Let me know if you have any further questions!