IMultiTenancyServiceGetTenant Method

Gets 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 (26.2.0.1000)
Syntax
Tenant GetTenant(
	Guid id
)

Parameters

id  Guid
The ID of the tenant.

Return Value

Tenant
The tenant corresponding to the specified ID.
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.
See Also