public class LoginInfo extends Object implements Serializable
User.getLoginInfo()
,
UserService.getUserByUserId(String)
,
Serialized FormConstructor and Description |
---|
LoginInfo(Date lastLogin,
long loginAttempts)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getLastLogin()
Gets the date of the last login of the user account.
|
long |
getLoginAttempts()
Gets the number of login attempts since the last successful login of the user account.
|
int |
hashCode() |
String |
toString() |
public LoginInfo(Date lastLogin, long loginAttempts)
lastLogin
- the date of the last login of the user account.loginAttempts
- the number of login attempts since the last successful login of the user account.public Date getLastLogin()
public long getLoginAttempts()
<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>