Package org.alfresco.repo.tenant
Interface TenantUserService
-
- All Known Subinterfaces:
TenantService
- All Known Implementing Classes:
SingleTServiceImpl
@AlfrescoPublicApi public interface TenantUserService
Interface for Tenant User-Domain functionality.- Since:
- 3.0
- Author:
- janv, Derek Hulley
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBaseNameUser(String name)
String
getCurrentUserDomain()
String
getDomainUser(String baseUsername, String tenantDomain)
String
getUserDomain(String username)
boolean
isEnabled()
-
-
-
Method Detail
-
getDomainUser
String getDomainUser(String baseUsername, String tenantDomain)
- Returns:
- the username with the tenant-specific ID attached
-
getBaseNameUser
String getBaseNameUser(String name)
- Returns:
- the username without the tenant-specific ID attached
-
getCurrentUserDomain
String getCurrentUserDomain()
- Returns:
- the tenant-specific ID for current user
-
getUserDomain
String getUserDomain(String username)
- Returns:
- the tenant-specific ID for specified username
-
isEnabled
boolean isEnabled()
- Returns:
- true if the system is configured to be MT-enabled
-
-