ITenantService Members CelloSaaS API Documentation
The ITenantService type exposes the following members.
Methods

Name Description
Public method ActivateTenant
This method is used to activate the tenant using activation key
Public method DeleteTenant
Deactivate the tenant.
Public method GetTenantDetailsByTenantCodeString
This method is used to get the tenant details for given tenant code string.
Public method GetTenantDetailsByTenantId(String)
Get tenant details by given tenant identifier.
Public method GetTenantDetailsByTenantId(String, String)
This method is used to get the tenant details by tenant id.
Public method GetTenantDetailsByURL
Get the tenant details for the given tenant Url.
Public method GetTenantIdFromTenantCode
This method is used to get the tenant id from the given tenant code string
Public method GetTenantInfoDetails
Get Active Tenant Details
Public method GetTenantsByUser
This method is used to get list of tenant details for given userId.
Public method GetTenantsByUserRole(String, String)
This method is used to get list of tenant details for given userId and roleId.
Public method GetTenantsByUserRoles(String, String  )
This method is used to get list of tenant details for given userId and roleIds.
Public method GetTenantsInTrial
Returns all trial tenants for the current logged in tenant. Only immediate child tenants are considered.
Public method InsertUserRoleTenantMapping(String, String, String)
This method is used to insert the user role tenant mapping.
Public method InsertUserRoleTenantMapping(String, String, String, String)
This method is used to insert the user role tenant mapping for the assigning tenant id
Public method ProvisionTenant(Tenant, TenantLicense)
This method is used to add tenant details. After tenant added successfully, the followin email will be sent 1. Tenant Activation Mail - If self registered containing the activation link 2. Tenant Welcome Mail - If admin added tenant and if the self reg. tenant activates the account by clicking the link.
Public method ProvisionTenant(Tenant, TenantLicense, TenantSettingsTemplate)
This method is used to add tenant details. After tenant added successfully, the followin email will be sent 1. Tenant Activation Mail - If self registered containing the activation link 2. Tenant Welcome Mail - If admin added tenant and if the self reg. tenant activates the account by clicking the link.
Public method ProvisionTenant(TenantDetails, Address, ContactDetails, User, MembershipDetails, TenantLicense)
This method is used to add tenant details. After tenant added successfully, the followin email will be sent 1. Tenant Activation Mail - If self registered containing the activation link 2. Tenant Welcome Mail - If admin added tenant and if the self reg. tenant activates the account by clicking the link.
Public method SearchAllTenantDetails
Get all(active and inactive) tenant details by search string as input.
Public method SearchTenantDetails
Search tenant details by search condition.
Public method UpdateApprovalStatus
This method is used to update the approval status for the given tenant.
Public method UpdateRoleTenants
This method is used to update role-tenants.
Public method UpdateTenantInfo(Tenant, TenantLicense)
Update the tenant details.
Public method UpdateTenantInfo(TenantDetails, Address, ContactDetails, TenantLicense)
Update the tenant details.
Back to Top
See Also