# Unique invite code/link to assign role

**URL:** https://meta.discourse.org/t/unique-invite-code-link-to-assign-role/266521
**Category:** Support
**Created:** [May 29, 2023, 11:54am UTC](https://meta.discourse.org/t/unique-invite-code-link-to-assign-role/266521 "2023-05-29T11:54:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![per\_coh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/per_coh/32/271009_2.png) [@per\_coh](https://meta.discourse.org/u/per_coh)
#### Post date: [May 29, 2023, 11:54am UTC](https://meta.discourse.org/t/unique-invite-code-link-to-assign-role/266521/1 "2023-05-29T11:54:13Z")

</div>

Is there a way to generate one-time use invite links/codes that I can give to specific people that will automatically put them in a specific group?  
Sometimes you meet a certain VIP and want to give them access to a private forum. But, getting them to register, then sending over their (correct) username, then manually putting them in a group, can be tedious at times.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [May 29, 2023, 12:21pm UTC](https://meta.discourse.org/t/unique-invite-code-link-to-assign-role/266521/2 "2023-05-29T12:21:56Z")

</div>

What do you mean by role?  
You can limit the use of an invite and set groups which the user should join at sign up.  
[Configuring how users can create and send invites for others to join your community](https://meta.discourse.org/t/configure-how-users-can-create-and-send-invites-for-others-to-join-your-community/124096#creating-an-invite-2)

---

<div class="post-metadata">

### Author: ![per\_coh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/per_coh/32/271009_2.png) [@per\_coh](https://meta.discourse.org/u/per_coh)
#### Post date: [May 29, 2023, 1:54pm UTC](https://meta.discourse.org/t/unique-invite-code-link-to-assign-role/266521/3 "2023-05-29T13:54:50Z")

</div>

Ah yes, I meant Groups, but it’s all the same; just spending too much time on Discord 🙂

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [June 28, 2023, 1:55pm UTC](https://meta.discourse.org/t/unique-invite-code-link-to-assign-role/266521/4 "2023-06-28T13:55:49Z")

</div>

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