User Class
- java.
lang. Object - com.
microsoft. store. partnercenter. models. ResourceBase - com.
microsoft. store. partnercenter. models. ResourceBaseWithLinks<TLinks> - com.
microsoft. store. partnercenter. models. users. User
- com.
- com.
- com.
public class User extends ResourceBaseWithLinks<StandardResourceLinks>
Constructor Summary
| Constructor | Description | |
|---|---|---|
| User() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getDisplayName()
Gets the display name for the user. |
| java.lang.String |
getFirstName()
Gets the first name for the user. |
| java.lang.String |
getId()
Gets the object identifier for the user. |
| java.lang.String |
getImmutableId()
Gets the immutable identifier for the user. |
| org.joda.time.DateTime |
getLastDirectorySyncTime()
Gets the last time that information for this user was synced between Azure Active Directory and on-premises Active Directory. |
| java.lang.String |
getLastName()
Gets the last name for the user. |
|
Password |
getPasswordProfile()
Gets the password profile for the user. |
| java.lang.String |
getPhoneNumber()
Gets the phone number for the user. |
| org.joda.time.DateTime |
getSoftDeletionTime()
Gets the deleted time for the inactive user. |
|
User |
getState()
Gets the state for the user. |
|
User |
getUserDomainType()
Gets the user domain type. |
| java.lang.String |
getUserPrincipalName()
Gets the user principal name (UPN) for the user. |
| void |
setDisplayName(String value)
Sets the display name for the user. |
| void |
setFirstName(String value)
Sets the first name for the user. |
| void |
setId(String value)
Sets the object identifier for the user. |
| void |
setImmutableId(String value)
Sets the immutable identifier for the user. |
| void |
setLastDirectorySyncTime(DateTime value)
Sets the last time that information for this user was synced between Azure Active Directory and on-premises Active Directory. |
| void |
setLastName(String value)
Sets the last name for the user. |
| void |
setPasswordProfile(PasswordProfile value)
Sets the password profile for the user. |
| void |
setPhoneNumber(String value)
Sets the phone number for the user. |
| void |
setSoftDeletionTime(DateTime value)
Sets the deleted time for the inactive user. |
| void |
setState(UserState value)
Sets the state for the user. |
| void |
setUserDomainType(UserDomainType value)
Sets the user domain type. |
| void |
setUserPrincipalName(String value)
Sets the user principal name (UPN) for the user. |
Inherited Members
Constructor Details
User
public User()
Method Details
getDisplayName
public String getDisplayName()
Gets the display name for the user.
Returns:
getFirstName
public String getFirstName()
Gets the first name for the user.
Returns:
getId
public String getId()
Gets the object identifier for the user.
Returns:
getImmutableId
public String getImmutableId()
Gets the immutable identifier for the user.
Returns:
getLastDirectorySyncTime
public DateTime getLastDirectorySyncTime()
Gets the last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.
Returns:
getLastName
public String getLastName()
Gets the last name for the user.
Returns:
getPasswordProfile
public PasswordProfile getPasswordProfile()
Gets the password profile for the user.
Returns:
getPhoneNumber
public String getPhoneNumber()
Gets the phone number for the user.
Returns:
getSoftDeletionTime
public DateTime getSoftDeletionTime()
Gets the deleted time for the inactive user.
Returns:
getState
public UserState getState()
Gets the state for the user. If the user is deleted the state is inactive; otherwise, the state is active.
Returns:
getUserDomainType
public UserDomainType getUserDomainType()
Gets the user domain type.
Returns:
getUserPrincipalName
public String getUserPrincipalName()
Gets the user principal name (UPN) for the user.
Returns:
setDisplayName
public void setDisplayName(String value)
Sets the display name for the user.
Parameters:
setFirstName
public void setFirstName(String value)
Sets the first name for the user.
Parameters:
setId
public void setId(String value)
Sets the object identifier for the user.
Parameters:
setImmutableId
public void setImmutableId(String value)
Sets the immutable identifier for the user.
Parameters:
setLastDirectorySyncTime
public void setLastDirectorySyncTime(DateTime value)
Sets the last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.
Parameters:
setLastName
public void setLastName(String value)
Sets the last name for the user.
Parameters:
setPasswordProfile
public void setPasswordProfile(PasswordProfile value)
Sets the password profile for the user.
Parameters:
setPhoneNumber
public void setPhoneNumber(String value)
Sets the phone number for the user.
Parameters:
setSoftDeletionTime
public void setSoftDeletionTime(DateTime value)
Sets the deleted time for the inactive user.
Parameters:
setState
public void setState(UserState value)
Sets the state for the user. If the user is deleted the state is inactive; otherwise, the state is active.
Parameters:
setUserDomainType
public void setUserDomainType(UserDomainType value)
Sets the user domain type.
Parameters:
setUserPrincipalName
public void setUserPrincipalName(String value)
Sets the user principal name (UPN) for the user.
Parameters: