IMultiTenancyServiceSaveTenant Method

Saves the tenant.

Namespace:  Dundas.BI.AccountServices.MultiTenancy
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void SaveTenant(
	Tenant tenant
)

Parameters

tenant
Type: Dundas.BI.AccountServices.MultiTenancyTenant
The tenant to save.
Exceptions
ExceptionCondition
ArgumentNullExceptiontenant is .
ValidationExceptionOne or more properties of the tenant have invalid values.
DuplicateItemExceptionA tenant with the same name already exists.
FeatureNotEnabledExceptionThe multi-tenancy features of the application are not enabled.
LicenseExceededExceptionThe seat allocation exceeds what is provided by the licenses.
NotFoundExceptionA tenant with the given ID does not exist.
NoPrivilegeExceptionThe caller does not have system administration privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
If a new tenant is being created, this method will populate the value of any properties which are set by the system (e.g. Id).
See Also