# Viewing a list of users who are watching a category

**URL:** <https://meta.discourse.org/t/viewing-a-list-of-users-who-are-watching-a-category/15225>\
**Category:** Feature\
**Created:** [May 1, 2014, 6:01pm UTC](https://meta.discourse.org/t/viewing-a-list-of-users-who-are-watching-a-category/15225 "2014-05-01T18:01:43Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![nukeador](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nukeador/32/107477_2.png) [@nukeador](https://meta.discourse.org/u/nukeador)\
**Post date:** [July 2, 2016, 12:49pm UTC](https://meta.discourse.org/t/viewing-a-list-of-users-who-are-watching-a-category/15225/15 "2016-07-02T12:49:43Z")

</div>

The updated query working today is:

```plaintext
select user_id, current_timestamp granted_at from category_users
where notification_level = 3
and category_id = 15
and (:backfill OR (user_id IN (:user_ids)))
union all
select user_id, current_timestamp granted_at from user_options where mailing_list_mode = True
and (:backfill OR (user_id IN (:user_ids)))

```

---

_[View the full topic](https://meta.discourse.org/t/viewing-a-list-of-users-who-are-watching-a-category/15225)._
