The ITenantService type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
ActivateTenant |
This method is used to activate the tenant using activation key
|
|
DeleteTenant |
Deactivate the tenant.
|
|
GetTenantDetailsByTenantCodeString |
This method is used to get the tenant details for given tenant code string.
|
|
GetTenantDetailsByTenantId(String) |
Get tenant details by given tenant identifier.
|
|
GetTenantDetailsByTenantId(String, String) |
This method is used to get the tenant details by tenant id.
|
|
GetTenantDetailsByURL |
Get the tenant details for the given tenant Url.
|
|
GetTenantIdFromTenantCode |
This method is used to get the tenant id from the given tenant code string
|
|
GetTenantInfoDetails |
Get Active Tenant Details
|
|
GetTenantsByUser |
This method is used to get list of tenant details for given userId.
|
|
GetTenantsByUserRole(String, String) |
This method is used to get list of tenant details for given userId and roleId.
|
|
GetTenantsByUserRoles(String, String ) |
This method is used to get list of tenant details for given userId and roleIds.
|
|
GetTenantsInTrial |
Returns all trial tenants for the current logged in tenant.
Only immediate child tenants are considered.
|
|
InsertUserRoleTenantMapping(String, String, String) |
This method is used to insert the user role tenant mapping.
|
|
InsertUserRoleTenantMapping(String, String, String, String) |
This method is used to insert the user role tenant mapping for the assigning tenant id
|
|
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.
|
|
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.
|
|
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.
|
|
SearchAllTenantDetails |
Get all(active and inactive) tenant details by search string as input.
|
|
SearchTenantDetails |
Search tenant details by search condition.
|
|
UpdateApprovalStatus |
This method is used to update the approval status for the given tenant.
|
|
UpdateRoleTenants |
This method is used to update role-tenants.
|
|
UpdateTenantInfo(Tenant, TenantLicense) |
Update the tenant details.
|
|
UpdateTenantInfo(TenantDetails, Address, ContactDetails, TenantLicense) |
Update the tenant details.
|
See Also