# Find previously suspended users

**URL:** <https://meta.discourse.org/t/find-previously-suspended-users/39551>\
**Category:** Product Support\
**Created:** [February 14, 2016, 5:18am UTC](https://meta.discourse.org/t/find-previously-suspended-users/39551 "2016-02-14T05:18:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [February 14, 2016, 1:59pm UTC](https://meta.discourse.org/t/find-previously-suspended-users/39551/2 "2016-02-14T13:59:10Z")

</div>

I think you can use this in the [data explorer](https://meta.discourse.org/t/32566?silent=true) plugin

```plaintext
SELECT * FROM user_histories
  WHERE action = 10

```

I’m validating that 10 is suspended, but I believe it is.

And I found it is

> <https://github.com/discourse/discourse/blob/74f22f95da49709d6ec09eca8f23645c9ac7bc16/app/models/user_history.rb#L19-L29>

---

_[View the full topic](https://meta.discourse.org/t/find-previously-suspended-users/39551)._
