# C'è un modo per aggiungere in modo programmatico ai gruppi?

**URL:** <https://meta.discourse.org/t/any-way-to-programmatically-add-to-groups/32474>\
**Category:** Support\
**Tags:** groups\
**Created:** [24 Agosto 2015, 5:56pm UTC](https://meta.discourse.org/t/any-way-to-programmatically-add-to-groups/32474 "2015-08-24T17:56:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)\
**Post date:** [24 Agosto 2015, 11:15pm UTC](https://meta.discourse.org/t/any-way-to-programmatically-add-to-groups/32474/4 "2015-08-24T23:15:43Z")

</div>

Trust levels is close, but it’s limited to the pre-defined few groups. In my specific use case, I’d need more … basically the idea is creating cohorts based on join date.

---

_[View the full topic](https://meta.discourse.org/t/any-way-to-programmatically-add-to-groups/32474)._
