# User Registration Scenario In case of Multi Tenant

**URL:** <https://community.auth0.com/t/user-registration-scenario-in-case-of-multi-tenant/6237>\
**Category:** Get Help\
**Tags:** multi-tenant\
**Created:** [April 17, 2017, 11:16pm UTC](https://community.auth0.com/t/user-registration-scenario-in-case-of-multi-tenant/6237 "2017-04-17T23:16:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mak](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mak](https://community.auth0.com/u/mak)\
**Post date:** [April 17, 2017, 11:16pm UTC](https://community.auth0.com/t/user-registration-scenario-in-case-of-multi-tenant/6237/1 "2017-04-17T23:16:24Z")

</div>

Hi

I am using the Same Auth0 Account across all my tenants, question is in my User Registration form how should I handle this

- New User Registration - No Issue with this Auth0 will handle this
- User Existing With Another Client- how this Scenario should be handled ??

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [April 18, 2017, 11:12am UTC](https://community.auth0.com/t/user-registration-scenario-in-case-of-multi-tenant/6237/2 "2017-04-18T11:12:21Z")

</div>

This depends on how you have setup your Auth0 account to handle multi tenant applications. If you have followed our [tutorial](https://auth0.com/docs/tutorials/using-auth0-with-multi-tenant-apps#sample-implementations-using-metadata), with all users being under the same account, and same connection, then it would simply mean adding the new “client” permissions under the user’s `app_metadata`.

```
{
  "email": "user@example.com",
  "app_metadata": {
    "permissions": {
      "personal": {
        "role": "full",
      },
      "company1": {
        "role": "user",
      },
      "company2": {
        "role": "admin",
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![info2](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@info2](https://community.auth0.com/u/info2)\
**Post date:** [May 6, 2017, 4:21am UTC](https://community.auth0.com/t/user-registration-scenario-in-case-of-multi-tenant/6237/3 "2017-05-06T04:21:27Z")

</div>

Hi  
I’m using [asp.net](http://asp.net) mvc

Is there any way to send a identifier in the login and then add that identifier to the app\_metadata when the user login?

I’m trying to send an internal tenant id when the user login using a specific link

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/user-registration-scenario-in-case-of-multi-tenant/6237/4 "2018-03-02T05:53:17Z")

</div>


