Start by creating Users Query as shown here:
In this example, no specific settings were applied so we can simply display all users.
Next, set up the filter like this:
For your CPT listing, you'll need to create the following query:
The ID added in the CPT query should also be included in both your listing and filters link.