IProjectServiceCreateDefaultTenantProject Method

Creates the default tenant project for the specified tenant, if it doesn't already exist.

Namespace: Dundas.BI.FileSystem
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
Guid CreateDefaultTenantProject(
	Guid tenantId
)

Parameters

tenantId  Guid
The ID of the tenant.

Return Value

Guid
The ID of the default tenant project.
Exceptions
ExceptionCondition
ArgumentExceptiontenantId is Empty.
NotFoundExceptionThe tenant with the specified ID does not exist.
FeatureNotEnabledExceptionThe multi-tenancy features of the application are not enabled.
DuplicateItemExceptionA default tenant project already exists for this tenant.
NoPrivilegeExceptionThe caller is not a system or tenant administrator.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also