public class AccountInfo extends Object implements Serializable
User.getAccountInfo()
,
UserService.getUserByUserId(String)
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
AccountInfo.AccountType
The list of supported account types.
|
Constructor and Description |
---|
AccountInfo(AccountInfo.AccountType accountType,
Date activationDate,
Date deactivationDate,
boolean active,
String licenseTypeId,
String authenticator,
String authenticatorUsername)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AccountInfo.AccountType |
getAccountType()
Gets the type of user account.
|
Date |
getActivationDate()
Gets the activation date of the user account.
|
String |
getAuthenticator()
Gets the authentication provider identifier for the user account.
|
String |
getAuthenticatorUsername()
Gets the authentication provider username of the user account.
|
Date |
getDeactivationDate()
Gets the deactivation date of the user account.
|
String |
getLicenseTypeId()
Gets the identifier of the license type of the user account.
|
int |
hashCode() |
boolean |
isActive()
Gets the Boolean value that indicates whether the user account is currently active.
|
void |
setAccountType(AccountInfo.AccountType accountType)
Sets the type of the user account.
|
void |
setActivationDate(Date activationDate)
Sets the activation date of the user account.
|
void |
setActive(boolean active)
Sets the Boolean value that indicates whether the user account is currently active.
|
void |
setDeactivationDate(Date deactivationDate)
Sets the deactivation date of the user account.
|
void |
setLicenseTypeId(String licenseTypeId)
Sets the identifier of the license type of the user account.
|
String |
toString() |
public AccountInfo(AccountInfo.AccountType accountType, Date activationDate, Date deactivationDate, boolean active, String licenseTypeId, String authenticator, String authenticatorUsername)
accountType
- the type of user account.activationDate
- the activation date of the user account.deactivationDate
- the deactivation date of the user account.active
- the Boolean value that indicates whether the user account is currently active.licenseTypeId
- the identifier of the license type of the user account.authenticator
- the authentication provider identifier for the user account.authenticatorUsername
- the authenticator username of the user account.public AccountInfo.AccountType getAccountType()
public void setAccountType(AccountInfo.AccountType accountType)
accountType
- the type of the user account.public Date getActivationDate()
public void setActivationDate(Date activationDate)
activationDate
- the activation date of the user account.public Date getDeactivationDate()
public void setDeactivationDate(Date deactivationDate)
deactivationDate
- the deactivation date of the user account.public boolean isActive()
public void setActive(boolean active)
active
- the Boolean value that indicates whether the user account is currently active.public String getAuthenticator()
UserService.getAuthenticationProviderInfos()
public String getAuthenticatorUsername()
public String getLicenseTypeId()
public void setLicenseTypeId(String licenseTypeId)
UserService.getLicenseTypes()
licenseTypeId
- the identifier of the license type to set for the user account.Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA