# How I get list of users in specific role?

**URL:** https://discuss.elastic.co/t/how-i-get-list-of-users-in-specific-role/67481
**Category:** Elasticsearch
**Created:** [November 29, 2016, 12:37pm UTC](https://discuss.elastic.co/t/how-i-get-list-of-users-in-specific-role/67481 "2016-11-29T12:37:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![yehuday](https://avatars.discourse-cdn.com/v4/letter/y/ad7895/32.png) [@yehuday](https://discuss.elastic.co/u/yehuday)
#### Post date: [November 29, 2016, 12:37pm UTC](https://discuss.elastic.co/t/how-i-get-list-of-users-in-specific-role/67481/1 "2016-11-29T12:37:34Z")

</div>

I am using the xpack security API.  
How I get list of users in specific role?

---

<div class="post-metadata">

### Author: ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)
#### Post date: [December 5, 2016, 12:02pm UTC](https://discuss.elastic.co/t/how-i-get-list-of-users-in-specific-role/67481/2 "2016-12-05T12:02:21Z")

</div>

Hi @yehuday,

I am sorry for the delay but there is not currently a way with the API to do that. I can file an internal request to consider adding this.

-Jay

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 2, 2017, 12:02pm UTC](https://discuss.elastic.co/t/how-i-get-list-of-users-in-specific-role/67481/3 "2017-01-02T12:02:41Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
