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 (24.3.0.1000)
Syntax
DeleteItemResult DeleteTenant(
	Guid id
)

Parameters

id
Type: SystemGuid
The ID of the tenant to delete.

Return Value

Type: DeleteItemResult
An object describing the result of the operation.
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