Class User
java.lang.Object
com.microsoft.store.partnercenter.models.ResourceBase
com.microsoft.store.partnercenter.models.ResourceBaseWithLinks<StandardResourceLinks>
com.microsoft.store.partnercenter.models.users.User
- Direct Known Subclasses:
CustomerUser
public class User extends ResourceBaseWithLinks<StandardResourceLinks>
-
Constructor Summary
Constructors Constructor Description User() -
Method Summary
Modifier and Type Method Description StringgetDisplayName()Gets the display name for the user.StringgetFirstName()Gets the first name for the user.StringgetId()Gets the object identifier for the user.StringgetImmutableId()Gets the immutable identifier for the user.org.joda.time.DateTimegetLastDirectorySyncTime()Gets the last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.StringgetLastName()Gets the last name for the user.PasswordProfilegetPasswordProfile()Gets the password profile for the user.StringgetPhoneNumber()Gets the phone number for the user.org.joda.time.DateTimegetSoftDeletionTime()Gets the deleted time for the inactive user.UserStategetState()Gets the state for the user.UserDomainTypegetUserDomainType()Gets the user domain type.StringgetUserPrincipalName()Gets the user principal name (UPN) for the user.voidsetDisplayName(String value)Sets the display name for the user.voidsetFirstName(String value)Sets the first name for the user.voidsetId(String value)Sets the object identifier for the user.voidsetImmutableId(String value)Sets the immutable identifier for the user.voidsetLastDirectorySyncTime(org.joda.time.DateTime value)Sets the last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.voidsetLastName(String value)Sets the last name for the user.voidsetPasswordProfile(PasswordProfile value)Sets the password profile for the user.voidsetPhoneNumber(String value)Sets the phone number for the user.voidsetSoftDeletionTime(org.joda.time.DateTime value)Sets the deleted time for the inactive user.voidsetState(UserState value)Sets the state for the user.voidsetUserDomainType(UserDomainType value)Sets the user domain type.voidsetUserPrincipalName(String value)Sets the user principal name (UPN) for the user.Methods inherited from class com.microsoft.store.partnercenter.models.ResourceBaseWithLinks
getLinks, setLinks
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getDisplayName
Gets the display name for the user.- Returns:
- The display name for the user.
-
setDisplayName
Sets the display name for the user.- Parameters:
value- The display name for the user.
-
getFirstName
Gets the first name for the user.- Returns:
- The first name for the user.
-
setFirstName
Sets the first name for the user.- Parameters:
value- The first name for the user.
-
getId
Gets the object identifier for the user.- Returns:
- The object identifier for the user.
-
setId
Sets the object identifier for the user.- Parameters:
value- The object identifier for the user.
-
getImmutableId
Gets the immutable identifier for the user.- Returns:
- The immutable identifier for the user.
-
setImmutableId
Sets the immutable identifier for the user.- Parameters:
value- The immutable identifier for the user.
-
getLastDirectorySyncTime
public 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.- Returns:
- The last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.
-
setLastDirectorySyncTime
public void setLastDirectorySyncTime(org.joda.time.DateTime value)Sets the last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.- Parameters:
value- The last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.
-
getLastName
Gets the last name for the user.- Returns:
- The last name for the user.
-
setLastName
Sets the last name for the user.- Parameters:
value- The last name for the user.
-
getPasswordProfile
Gets the password profile for the user.- Returns:
- The password profile for the user.
-
setPasswordProfile
Sets the password profile for the user.- Parameters:
value- The password profile for the user.
-
getPhoneNumber
Gets the phone number for the user.- Returns:
- The phone number for the user.
-
setPhoneNumber
Sets the phone number for the user.- Parameters:
value- The phone number for the user.
-
getSoftDeletionTime
public org.joda.time.DateTime getSoftDeletionTime()Gets the deleted time for the inactive user.- Returns:
- The deleted time for the inactive user.
-
setSoftDeletionTime
public void setSoftDeletionTime(org.joda.time.DateTime value)Sets the deleted time for the inactive user.- Parameters:
value- The deleted time for the inactive user.
-
getState
Gets the state for the user. If the user is deleted the state is inactive; otherwise, the state is active.- Returns:
- The state for the user. If the user is deleted the state is inactive; otherwise, the state is active.
-
setState
Sets the state for the user. If the user is deleted the state is inactive; otherwise, the state is active.- Parameters:
value- The state for the user. If the user is deleted the state is inactive; otherwise, the state is active.
-
getUserDomainType
Gets the user domain type.- Returns:
- The user domain type.
-
setUserDomainType
Sets the user domain type.- Parameters:
value- The user domain type.
-
getUserPrincipalName
Gets the user principal name (UPN) for the user.- Returns:
- The user principal name (UPN) for the user.
-
setUserPrincipalName
Sets the user principal name (UPN) for the user.- Parameters:
value- The user principal name (UPN) for the user.
-