IMultiTenancyServiceGetTenantInfo(Guid, Boolean) Method

Gets minimal information about 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
TenantInfo GetTenantInfo(
	Guid id,
	bool throwIfNotFound
)

Parameters

id  Guid
The ID of the tenant.
throwIfNotFound  Boolean
Specifies whether an exception will be thrown if the specified tenant is not found.

Return Value

TenantInfo
The tenant corresponding to the specified ID.
Exceptions
ExceptionCondition
NotFoundExceptionA tenant with the given ID does not exist and throwIfNotFound is .
NoPrivilegeExceptionThe caller is not a member of the specified tenant.
InvalidSessionExceptionThe caller context is not associated with a valid session.
ArgumentExceptionid is Empty.
NotFoundExceptionA tenant with the given ID does not exist.
FeatureNotEnabledExceptionThe multi-tenancy features of the application are not enabled.
Remarks
If throwIfNotFound is , and a tenant with the specified ID was not found, this method will return a TenantInfo object with only the Id property populated.
See Also