Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Self Add Tenant #804


User avatar
0
andmattia created

In module zero is not a standard option to add a new user with new tenant?

mat


3 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    Why not use UserManager.CreateAsync method?

    Or you want to create a new tenant with an admin user? If so, startup template does it.

  • User Avatar
    0
    andmattia created

    In registration form if tenant doesn't existes create it and add admin.

  • User Avatar
    0
    hikalkan created
    Support Team

    Then you can use TenantAppService.Create method. It creates a tenant with admin user with all available permissions.