Skip to main content

What it does

Adds a new tenant.

Definition

int AddTenant( string tenantName, string tenantDescription, string licenseNumber, bool canUseCommonLicense );

Parameters

NameTypeDescription
tenantNamestringTenant name
tenantDescriptionstringTenant description
licenseNumberstringTenant license number (if required)
canUseCommonLicenseboolPermission to share main license

Returned value

TypeDescription
intTenant identifier
Only a tenant will be added. Users must be created separately. The first created user will automatically become the administrator of the tenant.