Package com.microsoft.graph.models
Class User
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DirectoryObject
com.microsoft.graph.models.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 Summary
FieldsModifier and TypeFieldDescriptionThe About Me.The Account Enabled.The Activities.The Age Group.The Agreement Acceptances.The App Role Assignments.The Assigned Licenses.The Assigned Plans.The Authentication.The Authorization Info.The Birthday.The Business Phones.The Calendar.The Calendar Groups.The Calendars.The Calendar View.The Chats.The City.The Company Name.The Consent Provided For Minor.The Contact Folders.The Contacts.The Country.The Created Date Time.The Created Objects.The Creation Type.The Department.The Device Enrollment Limit.The Device Management Troubleshooting Events.The Direct Reports.The Display Name.The Drive.The Drives.The Employee Hire Date.The Employee Id.The Employee Org Data.The Employee Type.The Events.The Extensions.The External User State.The External User State Change Date Time.The Fax Number.The Followed Sites.The Given Name.The Hire Date.The Identities.The Im Addresses.The Inference Classification.The Insights.The Interests.The Is Resource Account.The Job Title.The Joined Teams.The Last Password Change Date Time.The Legal Age Group Classification.The License Assignment States.The License Details.The Mail.The Mailbox Settings.The Mail Folders.The Mail Nickname.The Managed App Registrations.The Managed Devices.The Manager.The Member Of.The Messages.The Mobile Phone.The My Site.The Oauth2Permission Grants.The Office Location.The Onenote.The Online Meetings.The On Premises Distinguished Name.The On Premises Domain Name.The On Premises Extension Attributes.The On Premises Immutable Id.The On Premises Last Sync Date Time.The On Premises Provisioning Errors.The On Premises Sam Account Name.The On Premises Security Identifier.The On Premises Sync Enabled.The On Premises User Principal Name.The Other Mails.The Outlook.The Owned Devices.The Owned Objects.The Password Policies.The Password Profile.The Past Projects.The People.The Photo.The Photos.The Planner.The Postal Code.The Preferred Data Location.The Preferred Language.The Preferred Name.The Presence.The Provisioned Plans.The Proxy Addresses.The Registered Devices.The Responsibilities.The Schools.The Scoped Role Member Of.The Security Identifier.The Settings.The Show In Address List.The Sign In Sessions Valid From Date Time.The Skills.The State.The Street Address.The Surname.The Teamwork.The Todo.The Transitive Member Of.The Usage Location.The User Principal Name.The User Type.Fields inherited from class com.microsoft.graph.models.DirectoryObject
deletedDateTime
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
accountEnabled
@SerializedName(value="accountEnabled", alternate="AccountEnabled") @Expose @Nullable public Boolean accountEnabledThe 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
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> assignedLicensesThe 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> assignedPlansThe 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 authorizationInfoThe Authorization Info. -
businessPhones
@SerializedName(value="businessPhones", alternate="BusinessPhones") @Expose @Nullable public List<String> businessPhonesThe 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
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 companyNameThe 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 consentProvidedForMinorThe 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
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 createdDateTimeThe 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 creationTypeThe 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 departmentThe 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 displayNameThe 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 employeeHireDateThe 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 employeeIdThe 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 employeeOrgDataThe 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 employeeTypeThe 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 externalUserStateThe 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 externalUserStateChangeDateTimeThe 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
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
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> identitiesThe 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> imAddressesThe 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 isResourceAccountThe Is Resource Account. Do not use – reserved for future use. -
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 lastPasswordChangeDateTimeThe 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 legalAgeGroupClassificationThe 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> licenseAssignmentStatesThe License Assignment States. State of license assignments for this user. Read-only. Returned only on $select. -
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 mailNicknameThe 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 mobilePhoneThe 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 officeLocationThe 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 onPremisesDistinguishedNameThe 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 onPremisesDomainNameThe 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 onPremisesExtensionAttributesThe 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 onPremisesImmutableIdThe 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 onPremisesLastSyncDateTimeThe 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> onPremisesProvisioningErrorsThe 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 onPremisesSamAccountNameThe 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 onPremisesSecurityIdentifierThe 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 onPremisesSyncEnabledThe 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 onPremisesUserPrincipalNameThe 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> otherMailsThe 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 passwordPoliciesThe 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 passwordProfileThe 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 postalCodeThe 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 preferredDataLocationThe 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 preferredLanguageThe 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> provisionedPlansThe 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> proxyAddressesThe 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 securityIdentifierThe 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 showInAddressListThe 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 signInSessionsValidFromDateTimeThe 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
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 streetAddressThe 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
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 usageLocationThe 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 userPrincipalNameThe 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
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 mailboxSettingsThe 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 deviceEnrollmentLimitThe 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
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 birthdayThe 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 hireDateThe 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> interestsThe Interests. A list for the user to describe their interests. Returned only on $select. -
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> pastProjectsThe 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 preferredNameThe 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> responsibilitiesThe Responsibilities. A list for the user to enumerate their responsibilities. Returned only on $select. -
schools
The Schools. A list for the user to enumerate the schools they have attended. Returned only on $select. -
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 appRoleAssignmentsThe App Role Assignments. Represents the app roles a user has been granted for an application. Supports $expand. -
createdObjects
The Created Objects. Directory objects that were created by the user. Read-only. Nullable. -
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 licenseDetailsThe License Details. A collection of this user's license details. Read-only. -
manager
@SerializedName(value="manager", alternate="Manager") @Expose @Nullable public DirectoryObject managerThe Manager. The user or contact that is this user's manager. Read-only. (HTTP Methods: GET, PUT, DELETE.). Supports $expand. -
memberOf
The Member Of. The groups and directory roles that the user is a member of. Read-only. Nullable. Supports $expand. -
oauth2PermissionGrants
The Oauth2Permission Grants. -
ownedDevices
The Owned Devices. Devices that are owned by the user. Read-only. Nullable. Supports $expand. -
ownedObjects
The Owned Objects. Directory objects that are owned by the user. Read-only. Nullable. Supports $expand. -
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 scopedRoleMemberOfThe Scoped Role Member Of. -
transitiveMemberOf
The Transitive Member Of. The groups, including nested groups, and directory roles that a user is a member of. Nullable. -
calendar
The Calendar. The user's primary calendar. Read-only. -
calendarGroups
@SerializedName(value="calendarGroups", alternate="CalendarGroups") @Expose @Nullable public CalendarGroupCollectionPage calendarGroupsThe Calendar Groups. The user's calendar groups. Read-only. Nullable. -
calendars
@SerializedName(value="calendars", alternate="Calendars") @Expose @Nullable public CalendarCollectionPage calendarsThe Calendars. The user's calendars. Read-only. Nullable. -
calendarView
@SerializedName(value="calendarView", alternate="CalendarView") @Expose @Nullable public EventCollectionPage calendarViewThe Calendar View. The calendar view for the calendar. Read-only. Nullable. -
contactFolders
@SerializedName(value="contactFolders", alternate="ContactFolders") @Expose @Nullable public ContactFolderCollectionPage contactFoldersThe Contact Folders. The user's contacts folders. Read-only. Nullable. -
contacts
@SerializedName(value="contacts", alternate="Contacts") @Expose @Nullable public ContactCollectionPage contactsThe Contacts. The user's contacts. Read-only. Nullable. -
events
@SerializedName(value="events", alternate="Events") @Expose @Nullable public EventCollectionPage eventsThe 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 inferenceClassificationThe 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 mailFoldersThe Mail Folders. The user's mail folders. Read-only. Nullable. -
messages
@SerializedName(value="messages", alternate="Messages") @Expose @Nullable public MessageCollectionPage messagesThe Messages. The messages in a mailbox or folder. Read-only. Nullable. -
outlook
The Outlook. -
people
@SerializedName(value="people", alternate="People") @Expose @Nullable public PersonCollectionPage peopleThe People. People that are relevant to the user. Read-only. Nullable. -
drive
The Drive. The user's OneDrive. Read-only. -
drives
@SerializedName(value="drives", alternate="Drives") @Expose @Nullable public DriveCollectionPage drivesThe Drives. A collection of drives available for this user. Read-only. -
followedSites
The Followed Sites. -
extensions
@SerializedName(value="extensions", alternate="Extensions") @Expose @Nullable public ExtensionCollectionPage extensionsThe Extensions. The collection of open extensions defined for the user. Read-only. Supports $expand. Nullable. -
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 managedDevicesThe Managed Devices. The managed devices associated with the user. -
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 deviceManagementTroubleshootingEventsThe Device Management Troubleshooting Events. The list of troubleshooting events for this user. -
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 insightsThe Insights. -
settings
@SerializedName(value="settings", alternate="Settings") @Expose @Nullable public UserSettings settingsThe Settings. -
onenote
The Onenote. -
photo
The Photo. The user's profile photo. Read-only. -
photos
@SerializedName(value="photos", alternate="Photos") @Expose @Nullable public ProfilePhotoCollectionPage photosThe Photos. -
activities
@SerializedName(value="activities", alternate="Activities") @Expose @Nullable public UserActivityCollectionPage activitiesThe Activities. The user's activities across devices. Read-only. Nullable. -
onlineMeetings
@SerializedName(value="onlineMeetings", alternate="OnlineMeetings") @Expose @Nullable public OnlineMeetingCollectionPage onlineMeetingsThe Online Meetings. -
presence
The Presence. -
authentication
@SerializedName(value="authentication", alternate="Authentication") @Expose @Nullable public Authentication authenticationThe Authentication. The authentication methods that are supported for the user. -
chats
The Chats. -
joinedTeams
@SerializedName(value="joinedTeams", alternate="JoinedTeams") @Expose @Nullable public TeamCollectionPage joinedTeamsThe Joined Teams. -
teamwork
@SerializedName(value="teamwork", alternate="Teamwork") @Expose @Nullable public UserTeamwork teamworkThe Teamwork. -
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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classDirectoryObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-