public final class ActiveUsersInfo
extends java.lang.Object
Constructor and Description |
---|
ActiveUsersInfo(java.lang.String loginId,
java.lang.String tenantCode,
int tenantid)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addUser(int id)
Add new user
|
java.util.List<java.lang.String> |
getAllTenantsForLoginID()
Get all tenant codes for login id
|
java.lang.String |
getTenantCode()
Get tenant code
|
int |
getTenantID()
Get tenant id
|
boolean |
hasTenant(int tenantid)
Check if tenant exists for login id
|
boolean |
isConsultantUser()
Check if user have entries for multiple tenants
|
public ActiveUsersInfo(java.lang.String loginId, java.lang.String tenantCode, int tenantid)
loginId
- login idtenantCode
- tenant codetenantid
- tenant idpublic java.lang.String getTenantCode()
public void addUser(int id)
id
- tenant id of the userpublic boolean hasTenant(int tenantid)
id
- tenant id of the userpublic boolean isConsultantUser()
public int getTenantID() throws MXException
MXApplicationException
MXException
public java.util.List<java.lang.String> getAllTenantsForLoginID() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException