User Class

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.

PasswordProfile 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.

UserState getState()

Gets the state for the user.

UserDomainType 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

ResourceBase.getAttributes() ResourceBaseWithLinks<TLinks>.getLinks() ResourceBaseWithLinks<TLinks>.setLinks(TLinks value) java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructor Details

User

public User()

Method Details

getDisplayName

public String getDisplayName()

Gets the display name for the user.

Returns:

The display name for the user.

getFirstName

public String getFirstName()

Gets the first name for the user.

Returns:

The first name for the user.

getId

public String getId()

Gets the object identifier for the user.

Returns:

The object identifier for the user.

getImmutableId

public String getImmutableId()

Gets the immutable identifier for the user.

Returns:

The immutable identifier for the user.

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:

The last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.

getLastName

public String getLastName()

Gets the last name for the user.

Returns:

The last name for the user.

getPasswordProfile

public PasswordProfile getPasswordProfile()

Gets the password profile for the user.

Returns:

The password profile for the user.

getPhoneNumber

public String getPhoneNumber()

Gets the phone number for the user.

Returns:

The phone number for the user.

getSoftDeletionTime

public DateTime getSoftDeletionTime()

Gets the deleted time for the inactive user.

Returns:

The deleted time for the inactive user.

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:

The state for the user. If the user is deleted the state is inactive; otherwise, the state is active.

getUserDomainType

public UserDomainType getUserDomainType()

Gets the user domain type.

Returns:

The user domain type.

getUserPrincipalName

public String getUserPrincipalName()

Gets the user principal name (UPN) for the user.

Returns:

The user principal name (UPN) for the user.

setDisplayName

public void setDisplayName(String value)

Sets the display name for the user.

Parameters:

value - The display name for the user.

setFirstName

public void setFirstName(String value)

Sets the first name for the user.

Parameters:

value - The first name for the user.

setId

public void setId(String value)

Sets the object identifier for the user.

Parameters:

value - The object identifier for the user.

setImmutableId

public void setImmutableId(String value)

Sets the immutable identifier for the user.

Parameters:

value - The immutable identifier for the user.

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:

value - The last time that information for this user was synced between Azure Active Directory and on-premises Active Directory.

setLastName

public void setLastName(String value)

Sets the last name for the user.

Parameters:

value - The last name for the user.

setPasswordProfile

public void setPasswordProfile(PasswordProfile value)

Sets the password profile for the user.

Parameters:

value - The password profile for the user.

setPhoneNumber

public void setPhoneNumber(String value)

Sets the phone number for the user.

Parameters:

value - The phone number for the user.

setSoftDeletionTime

public void setSoftDeletionTime(DateTime value)

Sets the deleted time for the inactive user.

Parameters:

value - The deleted time for the inactive user.

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:

value - The state for the user. If the user is deleted the state is inactive; otherwise, the state is active.

setUserDomainType

public void setUserDomainType(UserDomainType value)

Sets the user domain type.

Parameters:

value - The user domain type.

setUserPrincipalName

public void setUserPrincipalName(String value)

Sets the user principal name (UPN) for the user.

Parameters:

value - The user principal name (UPN) for the user.

Applies to