public class TenantUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
TENANTID_SINGLE_TENANT
TODO mlowery make this configurable
|
Constructor and Description |
---|
TenantUtils() |
Modifier and Type | Method and Description |
---|---|
static org.pentaho.platform.api.mt.ITenant |
getCurrentTenant()
Returns the tenant ID of the current user.
|
static String |
getDefaultTenant() |
static boolean |
isAccessibleTenant(org.pentaho.platform.api.mt.ITenant tenant) |
public static final String TENANTID_SINGLE_TENANT
public static org.pentaho.platform.api.mt.ITenant getCurrentTenant()
public static String getDefaultTenant()
public static boolean isAccessibleTenant(org.pentaho.platform.api.mt.ITenant tenant)
Copyright © 2019 Hitachi Vantara. All rights reserved.