public class User extends UserDescriptor
OBJECT_TYPE
Constructor and Description |
---|
User()
Zero-arg constructor.
|
User(String userId)
Constructor
|
User(String identifier,
String userId,
String principalId,
String principalName,
LoginInfo loginInfo,
LockedInfo lockedInfo,
PasswordInfo passwordInfo)
Constructor
|
User(String identifier,
String userId,
String principalId,
String principalName,
String displayName)
Constructor
|
Modifier and Type | Method and Description |
---|---|
AccountInfo |
getAccountInfo()
Get the accountInfo details for this user.
|
List<Attribute> |
getAttributes()
Get the list of attributes defined for this user instance.
|
String |
getDepartment()
Get the department value for this user.
|
String |
getEmail()
Get the email of this user.
|
String |
getFirstName()
Get the first name for this user.
|
String |
getLastName()
Get the last name for this user.
|
LockedInfo |
getLockedInfo()
Get the lockedInfo details for this user.
|
LoginInfo |
getLoginInfo()
Get the loginInfo details for this user.
|
PasswordInfo |
getPasswordInfo()
Get the passwordInfo details for this user.
|
String |
getPhone()
Get the primary phone number value for this user.
|
long |
getRevision()
Get the internal revision number of this object.
|
void |
setAccountInfo(AccountInfo accountInfo)
Set the accountInfo details for this user.
|
void |
setAttributes(List<Attribute> attributes)
Set a list of attributes values on this user.
|
void |
setDepartment(String department)
Set the department value for this user.
|
void |
setEmail(String email)
Set the email value for this user.
|
void |
setFirstName(String firstName)
Set the first name for this user.
|
void |
setLastName(String lastName)
Set the last name for this user.
|
void |
setPhone(String phone)
Set the primary phone number value for this user.
|
void |
setRevision(long revision)
Set the internal revision number of this object.
|
equals, getDisplayName, getIdentifier, getObjectType, getPrincipalId, getPrincipalName, getUserId, hashCode, setDisplayName, toString
public User()
public User(String userId)
userId
- the user id for this userpublic User(String identifier, String userId, String principalId, String principalName, String displayName)
identifier
- the unique identifier of this useruserId
- the user id for this userprincipalId
- the principal identifier of this userprincipalName
- the principal name of this userdisplayName
- the display name of this userpublic User(String identifier, String userId, String principalId, String principalName, LoginInfo loginInfo, LockedInfo lockedInfo, PasswordInfo passwordInfo)
identifier
- the unique identifier of this useruserId
- the user id of this userprincipalId
- the principal identifier of this userprincipalName
- the principal name of this userloginInfo
- the login information for this user accountlockedInfo
- the locked information for this user accountpasswordInfo
- the password information for this user accountpublic long getRevision()
public void setRevision(long revision)
revision
- the revision to setpublic AccountInfo getAccountInfo()
public void setAccountInfo(AccountInfo accountInfo)
accountInfo
- the accountInfo to set for this userpublic PasswordInfo getPasswordInfo()
public LockedInfo getLockedInfo()
public LoginInfo getLoginInfo()
public String getFirstName()
public void setFirstName(String firstName)
firstName
- the firstName to set for this userpublic String getLastName()
public void setLastName(String lastName)
lastName
- the lastName to set for this userpublic String getEmail()
public void setEmail(String email)
email
- the email to setpublic String getDepartment()
public void setDepartment(String department)
department
- the department to set for this userpublic String getPhone()
public void setPhone(String phone)
phone
- the primary phone number value to set for this userpublic List<Attribute> getAttributes()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA