TenantProxy Methods CelloSaaS API Documentation
The TenantProxy type exposes the following members.
Methods

  NameDescription
Public methodStatic memberActivateTenant
Activate the tenant using activation key
Public methodStatic memberDeleteRoleTenants
Delete the role-tenant mapping
Public methodStatic memberDeleteTenant
Deactivates the tenant.
Public methodStatic memberDeleteUserRoleTenants(String, String,  String )
Delete the user-Role-Tenant mapping
Public methodStatic memberDeleteUserRoleTenants(String, String,  String , String)
Delete the user role tenant mappings assigned by the role assigned tenant for the given user and role.
Public methodStatic memberGetAllActiveTenantDetails
Get all active tenant details.
Public methodStatic memberGetAllTenantDetails
Get all(Active and Inactive) tenant details.
Public methodStatic memberGetAllTenantInfoDetails
Get All(Active and Inactive) tenant details
Public methodStatic memberGetNumberOfTenants
Get the number of tenant with status for the input package identifiers.
Public methodStatic memberGetRoleWiseTenantsByUserRoles
Get the list of tenant details for given userId and roleIds.
Public methodStatic memberGetStratifiedTenantsByUser
Get the tenants by user, based on the current tenant who has assigned the roles to this tenant
Public methodStatic memberGetTenantDetails 
Get only active tenant details.
Public methodStatic memberGetTenantDetails( String )
Get the tenant details for the given array of tenant identifiers
Public methodStatic memberGetTenantDetailsByTenantId(String)
Get tenant details by given tenant identifier.
Public methodStatic memberGetTenantDetailsByTenantId(String, String)
Get tenant details by given tenant identifier.
Public methodStatic memberGetTenantDetailsByURL
Get the tenant details for the given tenant Url.
Public methodStatic memberGetTenantDetailsForTenantCodeString
Get the tenant details for given tenant code string.
Public methodStatic memberGetTenantIdFromTenantCode
Get the tenant id from the given tenant code string
Public methodStatic memberGetTenantInfo
Get tenant details by given tenant identifier.
Public methodStatic memberGetTenantInfoDetails
Get Active Tenant Details
Public methodStatic memberGetTenantsByRole
Get the list of tenant details for given roleId.
Public methodStatic memberGetTenantsByRoles
Get the list of tenant details for given roleIds.
Public methodStatic memberGetTenantsByUser
Get list of tenant details for given userId.
Public methodStatic memberGetTenantsByUserRole(String)
Get list of tenant details for given userId and roleId.
Public methodStatic memberGetTenantsByUserRole(String, String)
Get the list of tenant details for given userId and roleIds.
Public methodStatic memberGetTenantsByUserRole(String, String, String)
Get the tenants by user role for the given role assigned tenant id who has assigned the role for the user
Public methodStatic memberGetTenantsByUserRoles
Get the list of tenant details for given userId and roleIds.
Public methodStatic memberGetTenantsForCurrentUser
Get the list of tenant details for current logged in user.
Public methodStatic memberGetTenantsInTrial
Returns all trial tenants for the current logged in tenant. Only immediate child tenants are considered
Public methodStatic memberProvisionTenant(Tenant, TenantLicense)
This method is used to add tenant details. After tenant added successfully, the following 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 methodStatic memberProvisionTenant(Tenant, TenantLicense, TenantSettingsTemplate)
This method is used to create tenant with template
Public methodStatic memberProvisionTenant(TenantDetails, Address, ContactDetails, User, MembershipDetails, TenantLicense)
This method is used to add tenant details. After tenant added successfully, the following 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 methodStatic memberProvisionTenantWithConnString
This method is used to add tenant details. After tenant added successfully, the following 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 methodStatic memberSearchAllTenantDetails
Get all(active and inactive) tenant details by search string as input.
Public methodStatic memberSearchTenantDetails
Search tenant details by search condition.
Public methodStatic memberUpdateApprovalStatus
Update the approval status for the given tenant.
Public methodStatic memberUpdateRoleTenants
Update the role-tenants mapping.
Public methodStatic memberUpdateTenantInfo(Tenant, TenantLicense)
Update the tenant details.
Public methodStatic memberUpdateTenantInfo(TenantDetails, Address, ContactDetails, TenantLicense)
Update the tenant details.
Public methodStatic memberUpdateUserRoleTenants(String, String,  String )
Update the user-Role-Tenant mapping
Public methodStatic memberUpdateUserRoleTenants(String, String,  String , String)
Update the user role tenants mapping
Back to Top
See Also