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