IMultiTenancyServiceDeleteTenant Method

Deletes the tenant with the specified ID.

Namespace:  Dundas.BI.AccountServices.MultiTenancy
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
void DeleteTenant(
	Guid id
)

Parameters

id
Type: SystemGuid
The ID of the tenant to delete.
Exceptions
ExceptionCondition
ArgumentExceptionid is Empty.
NotFoundExceptionA tenant with the given ID does not exist.
FeatureNotEnabledExceptionThe multi-tenancy features of the application are not enabled.
NoPrivilegeExceptionThe caller does not have system administration privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
When a tenant is deleted, any associated projects, sessions, accounts, and groups are also deleted.
See Also