IMultiTenancyServiceGetTenants Method

Retrieves the tenants with the specified IDs.

Namespace: Dundas.BI.AccountServices.MultiTenancy
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
IDictionary<Guid, Tenant?> GetTenants(
	ICollection<Guid> tenantIds
)

Parameters

tenantIds  ICollectionGuid
The IDs of the tenants to retrieve.

Return Value

IDictionaryGuid, Tenant
A dictionary (keyed by tenant ID) containing the corresponding Tenant or if tenant does not exist.
Exceptions
ExceptionCondition
ArgumentNullExceptiontenantIds is .
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