# Convert a category to private and add users to a specific group with access

**URL:** <https://meta.discourse.org/t/convert-a-category-to-private-and-add-users-to-a-specific-group-with-access/290463>\
**Category:** Product Support\
**Created:** [January 4, 2024, 3:11am UTC](https://meta.discourse.org/t/convert-a-category-to-private-and-add-users-to-a-specific-group-with-access/290463 "2024-01-04T03:11:52Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Crius](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crius/32/317214_2.png) [@Crius](https://meta.discourse.org/u/Crius)\
**Post date:** [January 18, 2024, 1:56pm UTC](https://meta.discourse.org/t/convert-a-category-to-private-and-add-users-to-a-specific-group-with-access/290463/13 "2024-01-18T13:56:16Z")

</div>

Worked perfectly, I forgot you could add multiple usernames to the UI 🙂

For others, to export the psql query result simply run:

```plaintext
psql
\o /home/discourse/output.txt
<your query here>
\o
exit

```

Now in /home/discourse/output.txt you will have the result of the query as it would be printed on screen.

---

_[View the full topic](https://meta.discourse.org/t/convert-a-category-to-private-and-add-users-to-a-specific-group-with-access/290463)._
