# Plugin Development: List a user’s groups without making a request

**URL:** <https://meta.discourse.org/t/plugin-development-list-a-user-s-groups-without-making-a-request/103710>\
**Category:** Development\
**Created:** [December 7, 2018, 2:52pm UTC](https://meta.discourse.org/t/plugin-development-list-a-user-s-groups-without-making-a-request/103710 "2018-12-07T14:52:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![kleinfreund](https://avatars.discourse-cdn.com/v4/letter/k/a6a055/32.png) [@kleinfreund](https://meta.discourse.org/u/kleinfreund)\
**Post date:** [January 2, 2019, 9:33am UTC](https://meta.discourse.org/t/plugin-development-list-a-user-s-groups-without-making-a-request/103710/8 "2019-01-02T09:33:59Z")

</div>

How does one get a user’s groups in the Rails application? Via `current_user`, I have access to a user’s username, etc. but I can’t find a way to access their groups.

---

_[View the full topic](https://meta.discourse.org/t/plugin-development-list-a-user-s-groups-without-making-a-request/103710)._
