Class User

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class User extends DirectoryObject implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the User.
  • Field Details

    • accountEnabled

      @SerializedName(value="accountEnabled", alternate="AccountEnabled") @Expose @Nullable public Boolean accountEnabled
      The Account Enabled. true if the account is enabled; otherwise, false. This property is required when a user is created. Returned only on $select. Supports $filter (eq, ne, not, and in).
    • ageGroup

      @SerializedName(value="ageGroup", alternate="AgeGroup") @Expose @Nullable public String ageGroup
      The Age Group. Sets the age group of the user. Allowed values: null, Minor, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select. Supports $filter (eq, ne, not, and in).
    • assignedLicenses

      @SerializedName(value="assignedLicenses", alternate="AssignedLicenses") @Expose @Nullable public List<AssignedLicense> assignedLicenses
      The Assigned Licenses. The licenses that are assigned to the user, including inherited (group-based) licenses. Not nullable. Returned only on $select. Supports $filter (eq, not, and counting empty collections).
    • assignedPlans

      @SerializedName(value="assignedPlans", alternate="AssignedPlans") @Expose @Nullable public List<AssignedPlan> assignedPlans
      The Assigned Plans. The plans that are assigned to the user. Read-only. Not nullable. Returned only on $select. Supports $filter (eq and not).
    • authorizationInfo

      @SerializedName(value="authorizationInfo", alternate="AuthorizationInfo") @Expose @Nullable public AuthorizationInfo authorizationInfo
      The Authorization Info.
    • businessPhones

      @SerializedName(value="businessPhones", alternate="BusinessPhones") @Expose @Nullable public List<String> businessPhones
      The Business Phones. The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. Read-only for users synced from on-premises directory. Returned by default. Supports $filter (eq, not, ge, le, startsWith).
    • city

      @SerializedName(value="city", alternate="City") @Expose @Nullable public String city
      The City. The city in which the user is located. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • companyName

      @SerializedName(value="companyName", alternate="CompanyName") @Expose @Nullable public String companyName
      The Company Name. The company name which the user is associated. This property can be useful for describing the company that an external user comes from. The maximum length is 64 characters.Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • consentProvidedForMinor

      @SerializedName(value="consentProvidedForMinor", alternate="ConsentProvidedForMinor") @Expose @Nullable public String consentProvidedForMinor
      The Consent Provided For Minor. Sets whether consent has been obtained for minors. Allowed values: null, Granted, Denied and NotRequired. Refer to the legal age group property definitions for further information. Returned only on $select. Supports $filter (eq, ne, not, and in).
    • country

      @SerializedName(value="country", alternate="Country") @Expose @Nullable public String country
      The Country. The country/region in which the user is located; for example, US or UK. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The created date of the user object. Read-only. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in).
    • creationType

      @SerializedName(value="creationType", alternate="CreationType") @Expose @Nullable public String creationType
      The Creation Type. Indicates whether the user account was created through one of the following methods: As a regular school or work account (null). As an external account (Invitation). As a local account for an Azure Active Directory B2C tenant (LocalAccount). Through self-service sign-up by an internal user using email verification (EmailVerified). Through self-service sign-up by an external user signing up through a link that is part of a user flow (SelfServiceSignUp). Read-only.Returned only on $select. Supports $filter (eq, ne, not, in).
    • department

      @SerializedName(value="department", alternate="Department") @Expose @Nullable public String department
      The Department. The name for the department in which the user works. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, and eq on null values).
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The name displayed in the address book for the user. This is usually the combination of the user's first name, middle initial and last name. This property is required when a user is created and it cannot be cleared during updates. Maximum length is 256 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values), $orderBy, and $search.
    • employeeHireDate

      @SerializedName(value="employeeHireDate", alternate="EmployeeHireDate") @Expose @Nullable public OffsetDateTime employeeHireDate
      The Employee Hire Date. The date and time when the user was hired or will start work in case of a future hire. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in).
    • employeeId

      @SerializedName(value="employeeId", alternate="EmployeeId") @Expose @Nullable public String employeeId
      The Employee Id. The employee identifier assigned to the user by the organization. The maximum length is 16 characters. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values).
    • employeeOrgData

      @SerializedName(value="employeeOrgData", alternate="EmployeeOrgData") @Expose @Nullable public EmployeeOrgData employeeOrgData
      The Employee Org Data. Represents organization data (e.g. division and costCenter) associated with a user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in).
    • employeeType

      @SerializedName(value="employeeType", alternate="EmployeeType") @Expose @Nullable public String employeeType
      The Employee Type. Captures enterprise worker type. For example, Employee, Contractor, Consultant, or Vendor. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, startsWith).
    • externalUserState

      @SerializedName(value="externalUserState", alternate="ExternalUserState") @Expose @Nullable public String externalUserState
      The External User State. For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status. For invited users, the state can be PendingAcceptance or Accepted, or null for all other users. Returned only on $select. Supports $filter (eq, ne, not , in).
    • externalUserStateChangeDateTime

      @SerializedName(value="externalUserStateChangeDateTime", alternate="ExternalUserStateChangeDateTime") @Expose @Nullable public OffsetDateTime externalUserStateChangeDateTime
      The External User State Change Date Time. Shows the timestamp for the latest change to the externalUserState property. Returned only on $select. Supports $filter (eq, ne, not , in).
    • faxNumber

      @SerializedName(value="faxNumber", alternate="FaxNumber") @Expose @Nullable public String faxNumber
      The Fax Number. The fax number of the user. Returned only on $select. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values).
    • givenName

      @SerializedName(value="givenName", alternate="GivenName") @Expose @Nullable public String givenName
      The Given Name. The given name (first name) of the user. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values).
    • identities

      @SerializedName(value="identities", alternate="Identities") @Expose @Nullable public List<ObjectIdentity> identities
      The Identities. Represents the identities that can be used to sign in to this user account. An identity can be provided by Microsoft (also known as a local account), by organizations, or by social identity providers such as Facebook, Google, and Microsoft, and tied to a user account. May contain multiple items with the same signInType value. Returned only on $select. Supports $filter (eq) including on null values, only where the signInType is not userPrincipalName.
    • imAddresses

      @SerializedName(value="imAddresses", alternate="ImAddresses") @Expose @Nullable public List<String> imAddresses
      The Im Addresses. The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith).
    • isResourceAccount

      @SerializedName(value="isResourceAccount", alternate="IsResourceAccount") @Expose @Nullable public Boolean isResourceAccount
      The Is Resource Account. Do not use – reserved for future use.
    • jobTitle

      @SerializedName(value="jobTitle", alternate="JobTitle") @Expose @Nullable public String jobTitle
      The Job Title. The user's job title. Maximum length is 128 characters. Returned by default. Supports $filter (eq, ne, not , ge, le, in, startsWith, and eq on null values).
    • lastPasswordChangeDateTime

      @SerializedName(value="lastPasswordChangeDateTime", alternate="LastPasswordChangeDateTime") @Expose @Nullable public OffsetDateTime lastPasswordChangeDateTime
      The Last Password Change Date Time. The time when this Azure AD user last changed their password or when their password was created, whichever date the latest action was performed. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned only on $select.
    • legalAgeGroupClassification

      @SerializedName(value="legalAgeGroupClassification", alternate="LegalAgeGroupClassification") @Expose @Nullable public String legalAgeGroupClassification
      The Legal Age Group Classification. Used by enterprise applications to determine the legal age group of the user. This property is read-only and calculated based on ageGroup and consentProvidedForMinor properties. Allowed values: null, MinorWithOutParentalConsent, MinorWithParentalConsent, MinorNoParentalConsentRequired, NotAdult and Adult. Refer to the legal age group property definitions for further information. Returned only on $select.
    • licenseAssignmentStates

      @SerializedName(value="licenseAssignmentStates", alternate="LicenseAssignmentStates") @Expose @Nullable public List<LicenseAssignmentState> licenseAssignmentStates
      The License Assignment States. State of license assignments for this user. Read-only. Returned only on $select.
    • mail

      @SerializedName(value="mail", alternate="Mail") @Expose @Nullable public String mail
      The Mail. The SMTP address for the user, for example, [email protected]. Changes to this property will also update the user's proxyAddresses collection to include the value as an SMTP address. This property cannot contain accent characters. NOTE: We do not recommend updating this property for Azure AD B2C user profiles. Use the otherMails property instead. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith, and eq on null values).
    • mailNickname

      @SerializedName(value="mailNickname", alternate="MailNickname") @Expose @Nullable public String mailNickname
      The Mail Nickname. The mail alias for the user. This property must be specified when a user is created. Maximum length is 64 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • mobilePhone

      @SerializedName(value="mobilePhone", alternate="MobilePhone") @Expose @Nullable public String mobilePhone
      The Mobile Phone. The primary cellular telephone number for the user. Read-only for users synced from on-premises directory. Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • officeLocation

      @SerializedName(value="officeLocation", alternate="OfficeLocation") @Expose @Nullable public String officeLocation
      The Office Location. The office location in the user's place of business. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • onPremisesDistinguishedName

      @SerializedName(value="onPremisesDistinguishedName", alternate="OnPremisesDistinguishedName") @Expose @Nullable public String onPremisesDistinguishedName
      The On Premises Distinguished Name. Contains the on-premises Active Directory distinguished name or DN. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Returned only on $select.
    • onPremisesDomainName

      @SerializedName(value="onPremisesDomainName", alternate="OnPremisesDomainName") @Expose @Nullable public String onPremisesDomainName
      The On Premises Domain Name. Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Returned only on $select.
    • onPremisesExtensionAttributes

      @SerializedName(value="onPremisesExtensionAttributes", alternate="OnPremisesExtensionAttributes") @Expose @Nullable public OnPremisesExtensionAttributes onPremisesExtensionAttributes
      The On Premises Extension Attributes. Contains extensionAttributes1-15 for the user. These extension attributes are also known as Exchange custom attributes 1-15. For an onPremisesSyncEnabled user, the source of authority for this set of properties is the on-premises and is read-only. For a cloud-only user (where onPremisesSyncEnabled is false), these properties can be set during creation or update of a user object. For a cloud-only user previously synced from on-premises Active Directory, these properties are read-only in Microsoft Graph but can be fully managed through the Exchange Admin Center or the Exchange Online V2 module in PowerShell. Returned only on $select. Supports $filter (eq, ne, not, in).
    • onPremisesImmutableId

      @SerializedName(value="onPremisesImmutableId", alternate="OnPremisesImmutableId") @Expose @Nullable public String onPremisesImmutableId
      The On Premises Immutable Id. This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the user's userPrincipalName (UPN) property. NOTE: The $ and _ characters cannot be used when specifying this property. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in)..
    • onPremisesLastSyncDateTime

      @SerializedName(value="onPremisesLastSyncDateTime", alternate="OnPremisesLastSyncDateTime") @Expose @Nullable public OffsetDateTime onPremisesLastSyncDateTime
      The On Premises Last Sync Date Time. Indicates the last time at which the object was synced with the on-premises directory; for example: 2013-02-16T03:04:54Z. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in).
    • onPremisesProvisioningErrors

      @SerializedName(value="onPremisesProvisioningErrors", alternate="OnPremisesProvisioningErrors") @Expose @Nullable public List<OnPremisesProvisioningError> onPremisesProvisioningErrors
      The On Premises Provisioning Errors. Errors when using Microsoft synchronization product during provisioning. Returned only on $select. Supports $filter (eq, not, ge, le).
    • onPremisesSamAccountName

      @SerializedName(value="onPremisesSamAccountName", alternate="OnPremisesSamAccountName") @Expose @Nullable public String onPremisesSamAccountName
      The On Premises Sam Account Name. Contains the on-premises samAccountName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith).
    • onPremisesSecurityIdentifier

      @SerializedName(value="onPremisesSecurityIdentifier", alternate="OnPremisesSecurityIdentifier") @Expose @Nullable public String onPremisesSecurityIdentifier
      The On Premises Security Identifier. Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only. Returned only on $select. Supports $filter (eq including on null values).
    • onPremisesSyncEnabled

      @SerializedName(value="onPremisesSyncEnabled", alternate="OnPremisesSyncEnabled") @Expose @Nullable public Boolean onPremisesSyncEnabled
      The On Premises Sync Enabled. true if this user object is currently being synced from an on-premises Active Directory (AD); otherwise the user isn't being synced and can be managed in Azure Active Directory (Azure AD). Read-only. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values).
    • onPremisesUserPrincipalName

      @SerializedName(value="onPremisesUserPrincipalName", alternate="OnPremisesUserPrincipalName") @Expose @Nullable public String onPremisesUserPrincipalName
      The On Premises User Principal Name. Contains the on-premises userPrincipalName synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect. Read-only. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith).
    • otherMails

      @SerializedName(value="otherMails", alternate="OtherMails") @Expose @Nullable public List<String> otherMails
      The Other Mails. A list of additional email addresses for the user; for example: ['[email protected]', '[email protected]']. NOTE: This property cannot contain accent characters. Returned only on $select. Supports $filter (eq, not, ge, le, in, startsWith, endsWith, and counting empty collections).
    • passwordPolicies

      @SerializedName(value="passwordPolicies", alternate="PasswordPolicies") @Expose @Nullable public String passwordPolicies
      The Password Policies. Specifies password policies for the user. This value is an enumeration with one possible value being DisableStrongPassword, which allows weaker passwords than the default policy to be specified. DisablePasswordExpiration can also be specified. The two may be specified together; for example: DisablePasswordExpiration, DisableStrongPassword. Returned only on $select. For more information on the default password policies, see Azure AD pasword policies. Supports $filter (ne, not, and eq on null values).
    • passwordProfile

      @SerializedName(value="passwordProfile", alternate="PasswordProfile") @Expose @Nullable public PasswordProfile passwordProfile
      The Password Profile. Specifies the password profile for the user. The profile contains the user’s password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the passwordPolicies property. By default, a strong password is required. NOTE: For Azure B2C tenants, the forceChangePasswordNextSignIn property should be set to false and instead use custom policies and user flows to force password reset at first logon. See Force password reset at first logon.Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values).
    • postalCode

      @SerializedName(value="postalCode", alternate="PostalCode") @Expose @Nullable public String postalCode
      The Postal Code. The postal code for the user's postal address. The postal code is specific to the user's country/region. In the United States of America, this attribute contains the ZIP code. Maximum length is 40 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • preferredDataLocation

      @SerializedName(value="preferredDataLocation", alternate="PreferredDataLocation") @Expose @Nullable public String preferredDataLocation
      The Preferred Data Location. The preferred data location for the user. For more information, see OneDrive Online Multi-Geo.
    • preferredLanguage

      @SerializedName(value="preferredLanguage", alternate="PreferredLanguage") @Expose @Nullable public String preferredLanguage
      The Preferred Language. The preferred language for the user. Should follow ISO 639-1 Code; for example en-US. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values)
    • provisionedPlans

      @SerializedName(value="provisionedPlans", alternate="ProvisionedPlans") @Expose @Nullable public List<ProvisionedPlan> provisionedPlans
      The Provisioned Plans. The plans that are provisioned for the user. Read-only. Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le).
    • proxyAddresses

      @SerializedName(value="proxyAddresses", alternate="ProxyAddresses") @Expose @Nullable public List<String> proxyAddresses
      The Proxy Addresses. For example: ['SMTP: [email protected]', 'smtp: [email protected]']. Changes to the mail property will also update this collection to include the value as an SMTP address. For more information, see mail and proxyAddresses properties. The proxy address prefixed with SMTP (capitalized) is the primary proxy address while those prefixed with smtp are the secondary proxy addresses. For Azure AD B2C accounts, this property has a limit of ten unique addresses. Read-only in Microsoft Graph; you can update this property only through the Microsoft 365 admin center. Not nullable. Returned only on $select. Supports $filter (eq, not, ge, le, startsWith, endsWith, and counting empty collections).
    • securityIdentifier

      @SerializedName(value="securityIdentifier", alternate="SecurityIdentifier") @Expose @Nullable public String securityIdentifier
      The Security Identifier. Security identifier (SID) of the user, used in Windows scenarios. Read-only. Returned by default. Supports $select and $filter (eq, not, ge, le, startsWith).
    • showInAddressList

      @SerializedName(value="showInAddressList", alternate="ShowInAddressList") @Expose @Nullable public Boolean showInAddressList
      The Show In Address List. Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue.
    • signInSessionsValidFromDateTime

      @SerializedName(value="signInSessionsValidFromDateTime", alternate="SignInSessionsValidFromDateTime") @Expose @Nullable public OffsetDateTime signInSessionsValidFromDateTime
      The Sign In Sessions Valid From Date Time. Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. Returned only on $select.
    • state

      @SerializedName(value="state", alternate="State") @Expose @Nullable public String state
      The State. The state or province in the user's address. Maximum length is 128 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • streetAddress

      @SerializedName(value="streetAddress", alternate="StreetAddress") @Expose @Nullable public String streetAddress
      The Street Address. The street address of the user's place of business. Maximum length is 1024 characters. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • surname

      @SerializedName(value="surname", alternate="Surname") @Expose @Nullable public String surname
      The Surname. The user's surname (family name or last name). Maximum length is 64 characters. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • usageLocation

      @SerializedName(value="usageLocation", alternate="UsageLocation") @Expose @Nullable public String usageLocation
      The Usage Location. A two letter country code (ISO standard 3166). Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: US, JP, and GB. Not nullable. Returned only on $select. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values).
    • userPrincipalName

      @SerializedName(value="userPrincipalName", alternate="UserPrincipalName") @Expose @Nullable public String userPrincipalName
      The User Principal Name. The user principal name (UPN) of the user. The UPN is an Internet-style login name for the user based on the Internet standard RFC 822. By convention, this should map to the user's email name. The general format is alias@domain, where domain must be present in the tenant's collection of verified domains. This property is required when a user is created. The verified domains for the tenant can be accessed from the verifiedDomains property of organization.NOTE: This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~. For the complete list of allowed characters, see username policies. Returned by default. Supports $filter (eq, ne, not, ge, le, in, startsWith, endsWith) and $orderBy.
    • userType

      @SerializedName(value="userType", alternate="UserType") @Expose @Nullable public String userType
      The User Type. A string value that can be used to classify user types in your directory, such as Member and Guest. Returned only on $select. Supports $filter (eq, ne, not, in, and eq on null values). NOTE: For more information about the permissions for member and guest users, see What are the default user permissions in Azure Active Directory?
    • mailboxSettings

      @SerializedName(value="mailboxSettings", alternate="MailboxSettings") @Expose @Nullable public MailboxSettings mailboxSettings
      The Mailbox Settings. Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale and time zone. Returned only on $select.
    • deviceEnrollmentLimit

      @SerializedName(value="deviceEnrollmentLimit", alternate="DeviceEnrollmentLimit") @Expose @Nullable public Integer deviceEnrollmentLimit
      The Device Enrollment Limit. The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.
    • aboutMe

      @SerializedName(value="aboutMe", alternate="AboutMe") @Expose @Nullable public String aboutMe
      The About Me. A freeform text entry field for the user to describe themselves. Returned only on $select.
    • birthday

      @SerializedName(value="birthday", alternate="Birthday") @Expose @Nullable public OffsetDateTime birthday
      The Birthday. The birthday of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned only on $select.
    • hireDate

      @SerializedName(value="hireDate", alternate="HireDate") @Expose @Nullable public OffsetDateTime hireDate
      The Hire Date. The hire date of the user. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Returned only on $select. Note: This property is specific to SharePoint Online. We recommend using the native employeeHireDate property to set and update hire date values using Microsoft Graph APIs.
    • interests

      @SerializedName(value="interests", alternate="Interests") @Expose @Nullable public List<String> interests
      The Interests. A list for the user to describe their interests. Returned only on $select.
    • mySite

      @SerializedName(value="mySite", alternate="MySite") @Expose @Nullable public String mySite
      The My Site. The URL for the user's personal site. Returned only on $select.
    • pastProjects

      @SerializedName(value="pastProjects", alternate="PastProjects") @Expose @Nullable public List<String> pastProjects
      The Past Projects. A list for the user to enumerate their past projects. Returned only on $select.
    • preferredName

      @SerializedName(value="preferredName", alternate="PreferredName") @Expose @Nullable public String preferredName
      The Preferred Name. The preferred name for the user. Not Supported. This attribute returns an empty string.Returned only on $select.
    • responsibilities

      @SerializedName(value="responsibilities", alternate="Responsibilities") @Expose @Nullable public List<String> responsibilities
      The Responsibilities. A list for the user to enumerate their responsibilities. Returned only on $select.
    • schools

      @SerializedName(value="schools", alternate="Schools") @Expose @Nullable public List<String> schools
      The Schools. A list for the user to enumerate the schools they have attended. Returned only on $select.
    • skills

      @SerializedName(value="skills", alternate="Skills") @Expose @Nullable public List<String> skills
      The Skills. A list for the user to enumerate their skills. Returned only on $select.
    • appRoleAssignments

      @SerializedName(value="appRoleAssignments", alternate="AppRoleAssignments") @Expose @Nullable public AppRoleAssignmentCollectionPage appRoleAssignments
      The App Role Assignments. Represents the app roles a user has been granted for an application. Supports $expand.
    • createdObjects

      @Nullable public DirectoryObjectCollectionPage createdObjects
      The Created Objects. Directory objects that were created by the user. Read-only. Nullable.
    • directReports

      @Nullable public DirectoryObjectCollectionPage directReports
      The Direct Reports. The users and contacts that report to the user. (The users and contacts that have their manager property set to this user.) Read-only. Nullable. Supports $expand.
    • licenseDetails

      @SerializedName(value="licenseDetails", alternate="LicenseDetails") @Expose @Nullable public LicenseDetailsCollectionPage licenseDetails
      The License Details. A collection of this user's license details. Read-only.
    • manager

      @SerializedName(value="manager", alternate="Manager") @Expose @Nullable public DirectoryObject manager
      The Manager. The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.). Supports $expand.
    • memberOf

      @Nullable public DirectoryObjectCollectionPage memberOf
      The Member Of. The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand.
    • oauth2PermissionGrants

      @Nullable public OAuth2PermissionGrantCollectionPage oauth2PermissionGrants
      The Oauth2Permission Grants.
    • ownedDevices

      @Nullable public DirectoryObjectCollectionPage ownedDevices
      The Owned Devices. Devices that are owned by the user. Read-only. Nullable. Supports $expand.
    • ownedObjects

      @Nullable public DirectoryObjectCollectionPage ownedObjects
      The Owned Objects. Directory objects that are owned by the user. Read-only. Nullable. Supports $expand.
    • registeredDevices

      @Nullable public DirectoryObjectCollectionPage registeredDevices
      The Registered Devices. Devices that are registered for the user. Read-only. Nullable. Supports $expand.
    • scopedRoleMemberOf

      @SerializedName(value="scopedRoleMemberOf", alternate="ScopedRoleMemberOf") @Expose @Nullable public ScopedRoleMembershipCollectionPage scopedRoleMemberOf
      The Scoped Role Member Of.
    • transitiveMemberOf

      @Nullable public DirectoryObjectCollectionPage transitiveMemberOf
      The Transitive Member Of. The groups, including nested groups, and directory roles that a user is a member of. Nullable.
    • calendar

      @SerializedName(value="calendar", alternate="Calendar") @Expose @Nullable public Calendar calendar
      The Calendar. The user's primary calendar. Read-only.
    • calendarGroups

      @SerializedName(value="calendarGroups", alternate="CalendarGroups") @Expose @Nullable public CalendarGroupCollectionPage calendarGroups
      The Calendar Groups. The user's calendar groups. Read-only. Nullable.
    • calendars

      @SerializedName(value="calendars", alternate="Calendars") @Expose @Nullable public CalendarCollectionPage calendars
      The Calendars. The user's calendars. Read-only. Nullable.
    • calendarView

      @SerializedName(value="calendarView", alternate="CalendarView") @Expose @Nullable public EventCollectionPage calendarView
      The Calendar View. The calendar view for the calendar. Read-only. Nullable.
    • contactFolders

      @SerializedName(value="contactFolders", alternate="ContactFolders") @Expose @Nullable public ContactFolderCollectionPage contactFolders
      The Contact Folders. The user's contacts folders. Read-only. Nullable.
    • contacts

      @SerializedName(value="contacts", alternate="Contacts") @Expose @Nullable public ContactCollectionPage contacts
      The Contacts. The user's contacts. Read-only. Nullable.
    • events

      @SerializedName(value="events", alternate="Events") @Expose @Nullable public EventCollectionPage events
      The Events. The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable.
    • inferenceClassification

      @SerializedName(value="inferenceClassification", alternate="InferenceClassification") @Expose @Nullable public InferenceClassification inferenceClassification
      The Inference Classification. Relevance classification of the user's messages based on explicit designations which override inferred relevance or importance.
    • mailFolders

      @SerializedName(value="mailFolders", alternate="MailFolders") @Expose @Nullable public MailFolderCollectionPage mailFolders
      The Mail Folders. The user's mail folders. Read-only. Nullable.
    • messages

      @SerializedName(value="messages", alternate="Messages") @Expose @Nullable public MessageCollectionPage messages
      The Messages. The messages in a mailbox or folder. Read-only. Nullable.
    • outlook

      @SerializedName(value="outlook", alternate="Outlook") @Expose @Nullable public OutlookUser outlook
      The Outlook.
    • people

      @SerializedName(value="people", alternate="People") @Expose @Nullable public PersonCollectionPage people
      The People. People that are relevant to the user. Read-only. Nullable.
    • drive

      @SerializedName(value="drive", alternate="Drive") @Expose @Nullable public Drive drive
      The Drive. The user's OneDrive. Read-only.
    • drives

      @SerializedName(value="drives", alternate="Drives") @Expose @Nullable public DriveCollectionPage drives
      The Drives. A collection of drives available for this user. Read-only.
    • followedSites

      @Nullable public SiteCollectionPage followedSites
      The Followed Sites.
    • extensions

      @SerializedName(value="extensions", alternate="Extensions") @Expose @Nullable public ExtensionCollectionPage extensions
      The Extensions. The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable.
    • agreementAcceptances

      @Nullable public AgreementAcceptanceCollectionPage agreementAcceptances
      The Agreement Acceptances. The user's terms of use acceptance statuses. Read-only. Nullable.
    • managedDevices

      @SerializedName(value="managedDevices", alternate="ManagedDevices") @Expose @Nullable public ManagedDeviceCollectionPage managedDevices
      The Managed Devices. The managed devices associated with the user.
    • managedAppRegistrations

      @Nullable public ManagedAppRegistrationCollectionPage managedAppRegistrations
      The Managed App Registrations. Zero or more managed app registrations that belong to the user.
    • deviceManagementTroubleshootingEvents

      @SerializedName(value="deviceManagementTroubleshootingEvents", alternate="DeviceManagementTroubleshootingEvents") @Expose @Nullable public DeviceManagementTroubleshootingEventCollectionPage deviceManagementTroubleshootingEvents
      The Device Management Troubleshooting Events. The list of troubleshooting events for this user.
    • planner

      @SerializedName(value="planner", alternate="Planner") @Expose @Nullable public PlannerUser planner
      The Planner. Entry-point to the Planner resource that might exist for a user. Read-only.
    • insights

      @SerializedName(value="insights", alternate="Insights") @Expose @Nullable public OfficeGraphInsights insights
      The Insights.
    • settings

      @SerializedName(value="settings", alternate="Settings") @Expose @Nullable public UserSettings settings
      The Settings.
    • onenote

      @SerializedName(value="onenote", alternate="Onenote") @Expose @Nullable public Onenote onenote
      The Onenote.
    • photo

      @SerializedName(value="photo", alternate="Photo") @Expose @Nullable public ProfilePhoto photo
      The Photo. The user's profile photo. Read-only.
    • photos

      @SerializedName(value="photos", alternate="Photos") @Expose @Nullable public ProfilePhotoCollectionPage photos
      The Photos.
    • activities

      @SerializedName(value="activities", alternate="Activities") @Expose @Nullable public UserActivityCollectionPage activities
      The Activities. The user's activities across devices. Read-only. Nullable.
    • onlineMeetings

      @SerializedName(value="onlineMeetings", alternate="OnlineMeetings") @Expose @Nullable public OnlineMeetingCollectionPage onlineMeetings
      The Online Meetings.
    • presence

      @SerializedName(value="presence", alternate="Presence") @Expose @Nullable public Presence presence
      The Presence.
    • authentication

      @SerializedName(value="authentication", alternate="Authentication") @Expose @Nullable public Authentication authentication
      The Authentication. The authentication methods that are supported for the user.
    • chats

      @SerializedName(value="chats", alternate="Chats") @Expose @Nullable public ChatCollectionPage chats
      The Chats.
    • joinedTeams

      @SerializedName(value="joinedTeams", alternate="JoinedTeams") @Expose @Nullable public TeamCollectionPage joinedTeams
      The Joined Teams.
    • teamwork

      @SerializedName(value="teamwork", alternate="Teamwork") @Expose @Nullable public UserTeamwork teamwork
      The Teamwork.
    • todo

      @SerializedName(value="todo", alternate="Todo") @Expose @Nullable public Todo todo
      The Todo. Represents the To Do services available to a user.
  • Constructor Details

    • User

      public User()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class DirectoryObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to