MultiTenancyService.createTenant Method

Creates a tenant with the specified options. The ID field should be left empty, as the result will have it set to the new ID.
 

Parameters

tenant

Type: Tenant
The tenant object that should be created.

Return Value


Type: jQuery.Promise
Value: dundas.account.Tenant
A promise object that is resolved when the call is complete. If successful, a dundas.account.Tenant is returned.