public class TenantUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getCurrentTenantName()
Returns the current tenant name, which is the tenant of the currently authenticated profile.
|
static List<String> |
getTenantNames(TenantService tenantService)
Returns a list with the names of all tenants.
|
public static List<String> getTenantNames(TenantService tenantService) throws ProfileException
tenantService - the service that retrieves the Tenants.ProfileExceptionpublic static String getCurrentTenantName()
Copyright © 2023 CrafterCMS. All rights reserved.