public class User extends UserDescriptor
User
,
UserService
,
Serialized FormConstructor and Description |
---|
User(String id,
String userId,
String displayName,
String firstName,
String lastName,
String department,
String phone,
String email,
List<Attribute> attributes,
AccountInfo accountInfo,
PasswordInfo passwordInfo,
LockedInfo lockedInfo,
LoginInfo loginInfo,
long revision)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AccountInfo |
getAccountInfo()
Gets the account details for a user account.
|
List<Attribute> |
getAttributes()
Gets the list of extended attributes defined for a user account.
|
String |
getDepartment()
Gets the department value for a user account.
|
String |
getEmail()
Gets the email for a user account.
|
String |
getFirstName()
Gets the first name for a user account.
|
String |
getLastName()
Gets the last name for a user account.
|
LockedInfo |
getLockedInfo()
Gets the account locking details for a user account.
|
LoginInfo |
getLoginInfo()
Gets the login details for a user account.
|
PasswordInfo |
getPasswordInfo()
Gets the password details for a user account.
|
String |
getPhone()
Gets the phone number for a user account.
|
long |
getRevision()
Gets the internal revision number of an object.
|
int |
hashCode() |
void |
setAttributes(List<Attribute> attributes)
Sets the extended attribute values for a user account.
|
void |
setDepartment(String department)
Sets the department value for a user account.
|
void |
setEmail(String email)
Sets the email address value for a user account.
|
void |
setFirstName(String firstName)
Sets the first name for a user account.
|
void |
setLastName(String lastName)
Sets the last name for a user account.
|
void |
setPhone(String phone)
Sets the phone number for a user account.
|
String |
toString() |
getDisplayName, getPrincipalId, getPrincipalName, getUserId, setDisplayName
getId, getTypeId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getTypeId
public User(String id, String userId, String displayName, String firstName, String lastName, String department, String phone, String email, List<Attribute> attributes, AccountInfo accountInfo, PasswordInfo passwordInfo, LockedInfo lockedInfo, LoginInfo loginInfo, long revision)
id
- the unique identifier of the user account.userId
- the user ID of the user account.displayName
- the display name of the user account.firstName
- the first name for the user account.lastName
- the last name for the user account.department
- the department value for the user account.phone
- the phone number for the user account.email
- the email for the user account.attributes
- the list of extended attribute values for the user account.accountInfo
- the account details for the user account.passwordInfo
- the password details for the user account.lockedInfo
- the account locking details for the user account.loginInfo
- the login details for the user account.revision
- the internal revision number of this object.public long getRevision()
public AccountInfo getAccountInfo()
public PasswordInfo getPasswordInfo()
public LockedInfo getLockedInfo()
public LoginInfo getLoginInfo()
public String getFirstName()
public void setFirstName(String firstName)
firstName
- the firstName to set for a user account.public String getLastName()
public void setLastName(String lastName)
lastName
- the lastName to set for a user account.public String getEmail()
public void setEmail(String email)
email
- the email address for a user account.public String getDepartment()
public void setDepartment(String department)
department
- the department to set for a user account.public String getPhone()
public void setPhone(String phone)
phone
- the phone number to set for a user account.public List<Attribute> getAttributes()
public void setAttributes(List<Attribute> attributes)
attributes
- the list of extended attribute values for a user account.public int hashCode()
hashCode
in interface Principal
hashCode
in class UserDescriptor
public boolean equals(Object obj)
equals
in interface Principal
equals
in class UserDescriptor
public String toString()
toString
in class UserDescriptor
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA