# Access XPack user's username from a plugin

**URL:** <https://discuss.elastic.co/t/access-xpack-users-username-from-a-plugin/114969>\
**Category:** Elasticsearch\
**Created:** [January 10, 2018, 10:08pm UTC](https://discuss.elastic.co/t/access-xpack-users-username-from-a-plugin/114969 "2018-01-10T22:08:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [January 11, 2018, 5:22pm UTC](https://discuss.elastic.co/t/access-xpack-users-username-from-a-plugin/114969/2 "2018-01-11T17:22:00Z")

</div>

Hi there, we don't yet officially support plugin development, so I won't be able to fully answer your question. However, there's some info available at [How to get currently logged in USERID in plugin?](https://discuss.elastic.co/t/how-to-get-currently-logged-in-userid-in-plugin/58627/8) which looks relevant and might be able to help you.

Thanks,  
CJ

---

_[View the full topic](https://discuss.elastic.co/t/access-xpack-users-username-from-a-plugin/114969)._
