Class MicrosoftGraphUserInner
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphUserInner
-
public final class MicrosoftGraphUserInner extends MicrosoftGraphDirectoryObjectInner
Represents an Azure Active Directory user object.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphUserInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
aboutMe()
Get the aboutMe property: A freeform text entry field for the user to describe themselves.Boolean
accountEnabled()
Get the accountEnabled property: true if the account is enabled; otherwise, false.List<MicrosoftGraphUserActivity>
activities()
Get the activities property: The user's activities across devices.Map<String,Object>
additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory user object.String
ageGroup()
Get the ageGroup property: Sets the age group of the user.List<MicrosoftGraphAppRoleAssignmentInner>
appRoleAssignments()
Get the appRoleAssignments property: The appRoleAssignments property.List<MicrosoftGraphAssignedLicense>
assignedLicenses()
Get the assignedLicenses property: The licenses that are assigned to the user.List<MicrosoftGraphAssignedPlan>
assignedPlans()
Get the assignedPlans property: The plans that are assigned to the user.OffsetDateTime
birthday()
Get the birthday property: The birthday of the user.List<String>
businessPhones()
Get the businessPhones property: The telephone numbers for the user.MicrosoftGraphCalendar
calendar()
Get the calendar property: calendar.List<MicrosoftGraphCalendarGroup>
calendarGroups()
Get the calendarGroups property: The user's calendar groups.List<MicrosoftGraphCalendar>
calendars()
Get the calendars property: The user's calendars.List<MicrosoftGraphEvent>
calendarView()
Get the calendarView property: The calendar view for the calendar.String
city()
Get the city property: The city in which the user is located.String
companyName()
Get the companyName property: The company name which the user is associated.String
consentProvidedForMinor()
Get the consentProvidedForMinor property: Sets whether consent has been obtained for minors.List<MicrosoftGraphContactFolder>
contactFolders()
Get the contactFolders property: The user's contacts folders.List<MicrosoftGraphContactInner>
contacts()
Get the contacts property: The user's contacts.String
country()
Get the country property: The country/region in which the user is located; for example, 'US' or 'UK'.OffsetDateTime
createdDateTime()
Get the createdDateTime property: The created date of the user object.List<MicrosoftGraphDirectoryObjectInner>
createdObjects()
Get the createdObjects property: Directory objects that were created by the user.String
creationType()
Get the creationType property: Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified).String
department()
Get the department property: The name for the department in which the user works.Integer
deviceEnrollmentLimit()
Get the deviceEnrollmentLimit property: The limit on the maximum number of devices that the user is permitted to enroll.List<MicrosoftGraphDeviceManagementTroubleshootingEvent>
deviceManagementTroubleshootingEvents()
Get the deviceManagementTroubleshootingEvents property: The list of troubleshooting events for this user.List<MicrosoftGraphDirectoryObjectInner>
directReports()
Get the directReports property: The users and contacts that report to the user.String
displayName()
Get the displayName property: The name displayed in the address book for the user.MicrosoftGraphDrive
drive()
Get the drive property: drive.List<MicrosoftGraphDrive>
drives()
Get the drives property: A collection of drives available for this user.OffsetDateTime
employeeHireDate()
Get the employeeHireDate property: The date and time when the user was hired or will start work in case of a future hire.String
employeeId()
Get the employeeId property: The employee identifier assigned to the user by the organization.MicrosoftGraphEmployeeOrgData
employeeOrgData()
Get the employeeOrgData property: employeeOrgData.String
employeeType()
Get the employeeType property: Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc.List<MicrosoftGraphEvent>
events()
Get the events property: The user's events.List<MicrosoftGraphExtensionInner>
extensions()
Get the extensions property: The collection of open extensions defined for the user.String
externalUserState()
Get the externalUserState property: For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status.OffsetDateTime
externalUserStateChangeDateTime()
Get the externalUserStateChangeDateTime property: Shows the timestamp for the latest change to the externalUserState property.String
faxNumber()
Get the faxNumber property: The fax number of the user.List<MicrosoftGraphSite>
followedSites()
Get the followedSites property: The followedSites property.String
givenName()
Get the givenName property: The given name (first name) of the user.OffsetDateTime
hireDate()
Get the hireDate property: The hire date of the user.List<MicrosoftGraphObjectIdentity>
identities()
Get the identities property: Represents the identities that can be used to sign in to this user account.List<String>
imAddresses()
Get the imAddresses property: The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.MicrosoftGraphInferenceClassification
inferenceClassification()
Get the inferenceClassification property: inferenceClassification.MicrosoftGraphOfficeGraphInsights
insights()
Get the insights property: officeGraphInsights.List<String>
interests()
Get the interests property: A list for the user to describe their interests.Boolean
isResourceAccount()
Get the isResourceAccount property: Do not use – reserved for future use.String
jobTitle()
Get the jobTitle property: The user's job title.List<MicrosoftGraphTeamInner>
joinedTeams()
Get the joinedTeams property: The joinedTeams property.OffsetDateTime
lastPasswordChangeDateTime()
Get the lastPasswordChangeDateTime property: The time when this Azure AD user last changed their password.String
legalAgeGroupClassification()
Get the legalAgeGroupClassification property: Used by enterprise applications to determine the legal age group of the user.List<MicrosoftGraphLicenseAssignmentState>
licenseAssignmentStates()
Get the licenseAssignmentStates property: State of license assignments for this user.List<MicrosoftGraphLicenseDetailsInner>
licenseDetails()
Get the licenseDetails property: A collection of this user's license details.String
mail()
Get the mail property: The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'.MicrosoftGraphMailboxSettings
mailboxSettings()
Get the mailboxSettings property: mailboxSettings.List<MicrosoftGraphMailFolder>
mailFolders()
Get the mailFolders property: The user's mail folders.String
mailNickname()
Get the mailNickname property: The mail alias for the user.List<MicrosoftGraphManagedAppRegistration>
managedAppRegistrations()
Get the managedAppRegistrations property: Zero or more managed app registrations that belong to the user.List<MicrosoftGraphManagedDevice>
managedDevices()
Get the managedDevices property: The managed devices associated with the user.MicrosoftGraphDirectoryObjectInner
manager()
Get the manager property: Represents an Azure Active Directory object.List<MicrosoftGraphDirectoryObjectInner>
memberOf()
Get the memberOf property: The groups and directory roles that the user is a member of.List<MicrosoftGraphMessage>
messages()
Get the messages property: The messages in a mailbox or folder.String
mobilePhone()
Get the mobilePhone property: The primary cellular telephone number for the user.String
mySite()
Get the mySite property: The URL for the user's personal site.List<MicrosoftGraphOAuth2PermissionGrantInner>
oauth2PermissionGrants()
Get the oauth2PermissionGrants property: The oauth2PermissionGrants property.String
officeLocation()
Get the officeLocation property: The office location in the user's place of business.MicrosoftGraphOnenote
onenote()
Get the onenote property: onenote.List<MicrosoftGraphOnlineMeeting>
onlineMeetings()
Get the onlineMeetings property: The onlineMeetings property.String
onPremisesDistinguishedName()
Get the onPremisesDistinguishedName property: Contains the on-premises Active Directory distinguished name or DN.String
onPremisesDomainName()
Get the onPremisesDomainName property: Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory.MicrosoftGraphOnPremisesExtensionAttributes
onPremisesExtensionAttributes()
Get the onPremisesExtensionAttributes property: onPremisesExtensionAttributes.String
onPremisesImmutableId()
Get the onPremisesImmutableId property: This property is used to associate an on-premises Active Directory user account to their Azure AD user object.OffsetDateTime
onPremisesLastSyncDateTime()
Get the onPremisesLastSyncDateTime property: Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'.List<MicrosoftGraphOnPremisesProvisioningError>
onPremisesProvisioningErrors()
Get the onPremisesProvisioningErrors property: Errors when using Microsoft synchronization product during provisioning.String
onPremisesSamAccountName()
Get the onPremisesSamAccountName property: Contains the on-premises samAccountName synchronized from the on-premises directory.String
onPremisesSecurityIdentifier()
Get the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud.Boolean
onPremisesSyncEnabled()
Get the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).String
onPremisesUserPrincipalName()
Get the onPremisesUserPrincipalName property: Contains the on-premises userPrincipalName synchronized from the on-premises directory.List<String>
otherMails()
Get the otherMails property: A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].MicrosoftGraphOutlookUserInner
outlook()
Get the outlook property: outlookUser.List<MicrosoftGraphDirectoryObjectInner>
ownedDevices()
Get the ownedDevices property: Devices that are owned by the user.List<MicrosoftGraphDirectoryObjectInner>
ownedObjects()
Get the ownedObjects property: Directory objects that are owned by the user.String
passwordPolicies()
Get the passwordPolicies property: Specifies password policies for the user.MicrosoftGraphPasswordProfile
passwordProfile()
Get the passwordProfile property: passwordProfile.List<String>
pastProjects()
Get the pastProjects property: A list for the user to enumerate their past projects.List<MicrosoftGraphPerson>
people()
Get the people property: People that are relevant to the user.MicrosoftGraphProfilePhotoInner
photo()
Get the photo property: profilePhoto.List<MicrosoftGraphProfilePhotoInner>
photos()
Get the photos property: The photos property.MicrosoftGraphPlannerUser
planner()
Get the planner property: plannerUser.String
postalCode()
Get the postalCode property: The postal code for the user's postal address.String
preferredLanguage()
Get the preferredLanguage property: The preferred language for the user.String
preferredName()
Get the preferredName property: The preferred name for the user.MicrosoftGraphPresence
presence()
Get the presence property: presence.List<MicrosoftGraphProvisionedPlan>
provisionedPlans()
Get the provisionedPlans property: The plans that are provisioned for the user.List<String>
proxyAddresses()
Get the proxyAddresses property: For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties.List<MicrosoftGraphDirectoryObjectInner>
registeredDevices()
Get the registeredDevices property: Devices that are registered for the user.List<String>
responsibilities()
Get the responsibilities property: A list for the user to enumerate their responsibilities.List<String>
schools()
Get the schools property: A list for the user to enumerate the schools they have attended.List<MicrosoftGraphScopedRoleMembershipInner>
scopedRoleMemberOf()
Get the scopedRoleMemberOf property: The scopedRoleMemberOf property.MicrosoftGraphUserSettingsInner
settings()
Get the settings property: userSettings.Boolean
showInAddressList()
Get the showInAddressList property: true if the Outlook global address list should contain this user, otherwise false.OffsetDateTime
signInSessionsValidFromDateTime()
Get the signInSessionsValidFromDateTime property: 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).List<String>
skills()
Get the skills property: A list for the user to enumerate their skills.String
state()
Get the state property: The state or province in the user's address.String
streetAddress()
Get the streetAddress property: The street address of the user's place of business.String
surname()
Get the surname property: The user's surname (family name or last name).MicrosoftGraphUserTeamwork
teamwork()
Get the teamwork property: userTeamwork.MicrosoftGraphTodoInner
todo()
Get the todo property: todo.List<MicrosoftGraphDirectoryObjectInner>
transitiveMemberOf()
Get the transitiveMemberOf property: The transitiveMemberOf property.String
usageLocation()
Get the usageLocation property: A two letter country code (ISO standard 3166).String
userPrincipalName()
Get the userPrincipalName property: The user principal name (UPN) of the user.String
userType()
Get the userType property: A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'.void
validate()
Validates the instance.MicrosoftGraphUserInner
withAboutMe(String aboutMe)
Set the aboutMe property: A freeform text entry field for the user to describe themselves.MicrosoftGraphUserInner
withAccountEnabled(Boolean accountEnabled)
Set the accountEnabled property: true if the account is enabled; otherwise, false.MicrosoftGraphUserInner
withActivities(List<MicrosoftGraphUserActivity> activities)
Set the activities property: The user's activities across devices.MicrosoftGraphUserInner
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory user object.MicrosoftGraphUserInner
withAgeGroup(String ageGroup)
Set the ageGroup property: Sets the age group of the user.MicrosoftGraphUserInner
withAppRoleAssignments(List<MicrosoftGraphAppRoleAssignmentInner> appRoleAssignments)
Set the appRoleAssignments property: The appRoleAssignments property.MicrosoftGraphUserInner
withAssignedLicenses(List<MicrosoftGraphAssignedLicense> assignedLicenses)
Set the assignedLicenses property: The licenses that are assigned to the user.MicrosoftGraphUserInner
withAssignedPlans(List<MicrosoftGraphAssignedPlan> assignedPlans)
Set the assignedPlans property: The plans that are assigned to the user.MicrosoftGraphUserInner
withBirthday(OffsetDateTime birthday)
Set the birthday property: The birthday of the user.MicrosoftGraphUserInner
withBusinessPhones(List<String> businessPhones)
Set the businessPhones property: The telephone numbers for the user.MicrosoftGraphUserInner
withCalendar(MicrosoftGraphCalendar calendar)
Set the calendar property: calendar.MicrosoftGraphUserInner
withCalendarGroups(List<MicrosoftGraphCalendarGroup> calendarGroups)
Set the calendarGroups property: The user's calendar groups.MicrosoftGraphUserInner
withCalendars(List<MicrosoftGraphCalendar> calendars)
Set the calendars property: The user's calendars.MicrosoftGraphUserInner
withCalendarView(List<MicrosoftGraphEvent> calendarView)
Set the calendarView property: The calendar view for the calendar.MicrosoftGraphUserInner
withCity(String city)
Set the city property: The city in which the user is located.MicrosoftGraphUserInner
withCompanyName(String companyName)
Set the companyName property: The company name which the user is associated.MicrosoftGraphUserInner
withConsentProvidedForMinor(String consentProvidedForMinor)
Set the consentProvidedForMinor property: Sets whether consent has been obtained for minors.MicrosoftGraphUserInner
withContactFolders(List<MicrosoftGraphContactFolder> contactFolders)
Set the contactFolders property: The user's contacts folders.MicrosoftGraphUserInner
withContacts(List<MicrosoftGraphContactInner> contacts)
Set the contacts property: The user's contacts.MicrosoftGraphUserInner
withCountry(String country)
Set the country property: The country/region in which the user is located; for example, 'US' or 'UK'.MicrosoftGraphUserInner
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The created date of the user object.MicrosoftGraphUserInner
withCreatedObjects(List<MicrosoftGraphDirectoryObjectInner> createdObjects)
Set the createdObjects property: Directory objects that were created by the user.MicrosoftGraphUserInner
withCreationType(String creationType)
Set the creationType property: Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified).MicrosoftGraphUserInner
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.MicrosoftGraphUserInner
withDepartment(String department)
Set the department property: The name for the department in which the user works.MicrosoftGraphUserInner
withDeviceEnrollmentLimit(Integer deviceEnrollmentLimit)
Set the deviceEnrollmentLimit property: The limit on the maximum number of devices that the user is permitted to enroll.MicrosoftGraphUserInner
withDeviceManagementTroubleshootingEvents(List<MicrosoftGraphDeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents)
Set the deviceManagementTroubleshootingEvents property: The list of troubleshooting events for this user.MicrosoftGraphUserInner
withDirectReports(List<MicrosoftGraphDirectoryObjectInner> directReports)
Set the directReports property: The users and contacts that report to the user.MicrosoftGraphUserInner
withDisplayName(String displayName)
Set the displayName property: The name displayed in the address book for the user.MicrosoftGraphUserInner
withDrive(MicrosoftGraphDrive drive)
Set the drive property: drive.MicrosoftGraphUserInner
withDrives(List<MicrosoftGraphDrive> drives)
Set the drives property: A collection of drives available for this user.MicrosoftGraphUserInner
withEmployeeHireDate(OffsetDateTime employeeHireDate)
Set the employeeHireDate property: The date and time when the user was hired or will start work in case of a future hire.MicrosoftGraphUserInner
withEmployeeId(String employeeId)
Set the employeeId property: The employee identifier assigned to the user by the organization.MicrosoftGraphUserInner
withEmployeeOrgData(MicrosoftGraphEmployeeOrgData employeeOrgData)
Set the employeeOrgData property: employeeOrgData.MicrosoftGraphUserInner
withEmployeeType(String employeeType)
Set the employeeType property: Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc.MicrosoftGraphUserInner
withEvents(List<MicrosoftGraphEvent> events)
Set the events property: The user's events.MicrosoftGraphUserInner
withExtensions(List<MicrosoftGraphExtensionInner> extensions)
Set the extensions property: The collection of open extensions defined for the user.MicrosoftGraphUserInner
withExternalUserState(String externalUserState)
Set the externalUserState property: For an external user invited to the tenant using the invitation API, this property represents the invited user's invitation status.MicrosoftGraphUserInner
withExternalUserStateChangeDateTime(OffsetDateTime externalUserStateChangeDateTime)
Set the externalUserStateChangeDateTime property: Shows the timestamp for the latest change to the externalUserState property.MicrosoftGraphUserInner
withFaxNumber(String faxNumber)
Set the faxNumber property: The fax number of the user.MicrosoftGraphUserInner
withFollowedSites(List<MicrosoftGraphSite> followedSites)
Set the followedSites property: The followedSites property.MicrosoftGraphUserInner
withGivenName(String givenName)
Set the givenName property: The given name (first name) of the user.MicrosoftGraphUserInner
withHireDate(OffsetDateTime hireDate)
Set the hireDate property: The hire date of the user.MicrosoftGraphUserInner
withId(String id)
Set the id property: Read-only.MicrosoftGraphUserInner
withIdentities(List<MicrosoftGraphObjectIdentity> identities)
Set the identities property: Represents the identities that can be used to sign in to this user account.MicrosoftGraphUserInner
withImAddresses(List<String> imAddresses)
Set the imAddresses property: The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user.MicrosoftGraphUserInner
withInferenceClassification(MicrosoftGraphInferenceClassification inferenceClassification)
Set the inferenceClassification property: inferenceClassification.MicrosoftGraphUserInner
withInsights(MicrosoftGraphOfficeGraphInsights insights)
Set the insights property: officeGraphInsights.MicrosoftGraphUserInner
withInterests(List<String> interests)
Set the interests property: A list for the user to describe their interests.MicrosoftGraphUserInner
withIsResourceAccount(Boolean isResourceAccount)
Set the isResourceAccount property: Do not use – reserved for future use.MicrosoftGraphUserInner
withJobTitle(String jobTitle)
Set the jobTitle property: The user's job title.MicrosoftGraphUserInner
withJoinedTeams(List<MicrosoftGraphTeamInner> joinedTeams)
Set the joinedTeams property: The joinedTeams property.MicrosoftGraphUserInner
withLastPasswordChangeDateTime(OffsetDateTime lastPasswordChangeDateTime)
Set the lastPasswordChangeDateTime property: The time when this Azure AD user last changed their password.MicrosoftGraphUserInner
withLegalAgeGroupClassification(String legalAgeGroupClassification)
Set the legalAgeGroupClassification property: Used by enterprise applications to determine the legal age group of the user.MicrosoftGraphUserInner
withLicenseAssignmentStates(List<MicrosoftGraphLicenseAssignmentState> licenseAssignmentStates)
Set the licenseAssignmentStates property: State of license assignments for this user.MicrosoftGraphUserInner
withLicenseDetails(List<MicrosoftGraphLicenseDetailsInner> licenseDetails)
Set the licenseDetails property: A collection of this user's license details.MicrosoftGraphUserInner
withMail(String mail)
Set the mail property: The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'.MicrosoftGraphUserInner
withMailboxSettings(MicrosoftGraphMailboxSettings mailboxSettings)
Set the mailboxSettings property: mailboxSettings.MicrosoftGraphUserInner
withMailFolders(List<MicrosoftGraphMailFolder> mailFolders)
Set the mailFolders property: The user's mail folders.MicrosoftGraphUserInner
withMailNickname(String mailNickname)
Set the mailNickname property: The mail alias for the user.MicrosoftGraphUserInner
withManagedAppRegistrations(List<MicrosoftGraphManagedAppRegistration> managedAppRegistrations)
Set the managedAppRegistrations property: Zero or more managed app registrations that belong to the user.MicrosoftGraphUserInner
withManagedDevices(List<MicrosoftGraphManagedDevice> managedDevices)
Set the managedDevices property: The managed devices associated with the user.MicrosoftGraphUserInner
withManager(MicrosoftGraphDirectoryObjectInner manager)
Set the manager property: Represents an Azure Active Directory object.MicrosoftGraphUserInner
withMemberOf(List<MicrosoftGraphDirectoryObjectInner> memberOf)
Set the memberOf property: The groups and directory roles that the user is a member of.MicrosoftGraphUserInner
withMessages(List<MicrosoftGraphMessage> messages)
Set the messages property: The messages in a mailbox or folder.MicrosoftGraphUserInner
withMobilePhone(String mobilePhone)
Set the mobilePhone property: The primary cellular telephone number for the user.MicrosoftGraphUserInner
withMySite(String mySite)
Set the mySite property: The URL for the user's personal site.MicrosoftGraphUserInner
withOauth2PermissionGrants(List<MicrosoftGraphOAuth2PermissionGrantInner> oauth2PermissionGrants)
Set the oauth2PermissionGrants property: The oauth2PermissionGrants property.MicrosoftGraphUserInner
withOfficeLocation(String officeLocation)
Set the officeLocation property: The office location in the user's place of business.MicrosoftGraphUserInner
withOnenote(MicrosoftGraphOnenote onenote)
Set the onenote property: onenote.MicrosoftGraphUserInner
withOnlineMeetings(List<MicrosoftGraphOnlineMeeting> onlineMeetings)
Set the onlineMeetings property: The onlineMeetings property.MicrosoftGraphUserInner
withOnPremisesDistinguishedName(String onPremisesDistinguishedName)
Set the onPremisesDistinguishedName property: Contains the on-premises Active Directory distinguished name or DN.MicrosoftGraphUserInner
withOnPremisesDomainName(String onPremisesDomainName)
Set the onPremisesDomainName property: Contains the on-premises domainFQDN, also called dnsDomainName synchronized from the on-premises directory.MicrosoftGraphUserInner
withOnPremisesExtensionAttributes(MicrosoftGraphOnPremisesExtensionAttributes onPremisesExtensionAttributes)
Set the onPremisesExtensionAttributes property: onPremisesExtensionAttributes.MicrosoftGraphUserInner
withOnPremisesImmutableId(String onPremisesImmutableId)
Set the onPremisesImmutableId property: This property is used to associate an on-premises Active Directory user account to their Azure AD user object.MicrosoftGraphUserInner
withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
Set the onPremisesLastSyncDateTime property: Indicates the last time at which the object was synced with the on-premises directory; for example: '2013-02-16T03:04:54Z'.MicrosoftGraphUserInner
withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors)
Set the onPremisesProvisioningErrors property: Errors when using Microsoft synchronization product during provisioning.MicrosoftGraphUserInner
withOnPremisesSamAccountName(String onPremisesSamAccountName)
Set the onPremisesSamAccountName property: Contains the on-premises samAccountName synchronized from the on-premises directory.MicrosoftGraphUserInner
withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)
Set the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud.MicrosoftGraphUserInner
withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
Set the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).MicrosoftGraphUserInner
withOnPremisesUserPrincipalName(String onPremisesUserPrincipalName)
Set the onPremisesUserPrincipalName property: Contains the on-premises userPrincipalName synchronized from the on-premises directory.MicrosoftGraphUserInner
withOtherMails(List<String> otherMails)
Set the otherMails property: A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com'].MicrosoftGraphUserInner
withOutlook(MicrosoftGraphOutlookUserInner outlook)
Set the outlook property: outlookUser.MicrosoftGraphUserInner
withOwnedDevices(List<MicrosoftGraphDirectoryObjectInner> ownedDevices)
Set the ownedDevices property: Devices that are owned by the user.MicrosoftGraphUserInner
withOwnedObjects(List<MicrosoftGraphDirectoryObjectInner> ownedObjects)
Set the ownedObjects property: Directory objects that are owned by the user.MicrosoftGraphUserInner
withPasswordPolicies(String passwordPolicies)
Set the passwordPolicies property: Specifies password policies for the user.MicrosoftGraphUserInner
withPasswordProfile(MicrosoftGraphPasswordProfile passwordProfile)
Set the passwordProfile property: passwordProfile.MicrosoftGraphUserInner
withPastProjects(List<String> pastProjects)
Set the pastProjects property: A list for the user to enumerate their past projects.MicrosoftGraphUserInner
withPeople(List<MicrosoftGraphPerson> people)
Set the people property: People that are relevant to the user.MicrosoftGraphUserInner
withPhoto(MicrosoftGraphProfilePhotoInner photo)
Set the photo property: profilePhoto.MicrosoftGraphUserInner
withPhotos(List<MicrosoftGraphProfilePhotoInner> photos)
Set the photos property: The photos property.MicrosoftGraphUserInner
withPlanner(MicrosoftGraphPlannerUser planner)
Set the planner property: plannerUser.MicrosoftGraphUserInner
withPostalCode(String postalCode)
Set the postalCode property: The postal code for the user's postal address.MicrosoftGraphUserInner
withPreferredLanguage(String preferredLanguage)
Set the preferredLanguage property: The preferred language for the user.MicrosoftGraphUserInner
withPreferredName(String preferredName)
Set the preferredName property: The preferred name for the user.MicrosoftGraphUserInner
withPresence(MicrosoftGraphPresence presence)
Set the presence property: presence.MicrosoftGraphUserInner
withProvisionedPlans(List<MicrosoftGraphProvisionedPlan> provisionedPlans)
Set the provisionedPlans property: The plans that are provisioned for the user.MicrosoftGraphUserInner
withProxyAddresses(List<String> proxyAddresses)
Set the proxyAddresses property: For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties.MicrosoftGraphUserInner
withRegisteredDevices(List<MicrosoftGraphDirectoryObjectInner> registeredDevices)
Set the registeredDevices property: Devices that are registered for the user.MicrosoftGraphUserInner
withResponsibilities(List<String> responsibilities)
Set the responsibilities property: A list for the user to enumerate their responsibilities.MicrosoftGraphUserInner
withSchools(List<String> schools)
Set the schools property: A list for the user to enumerate the schools they have attended.MicrosoftGraphUserInner
withScopedRoleMemberOf(List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMemberOf)
Set the scopedRoleMemberOf property: The scopedRoleMemberOf property.MicrosoftGraphUserInner
withSettings(MicrosoftGraphUserSettingsInner settings)
Set the settings property: userSettings.MicrosoftGraphUserInner
withShowInAddressList(Boolean showInAddressList)
Set the showInAddressList property: true if the Outlook global address list should contain this user, otherwise false.MicrosoftGraphUserInner
withSignInSessionsValidFromDateTime(OffsetDateTime signInSessionsValidFromDateTime)
Set the signInSessionsValidFromDateTime property: 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).MicrosoftGraphUserInner
withSkills(List<String> skills)
Set the skills property: A list for the user to enumerate their skills.MicrosoftGraphUserInner
withState(String state)
Set the state property: The state or province in the user's address.MicrosoftGraphUserInner
withStreetAddress(String streetAddress)
Set the streetAddress property: The street address of the user's place of business.MicrosoftGraphUserInner
withSurname(String surname)
Set the surname property: The user's surname (family name or last name).MicrosoftGraphUserInner
withTeamwork(MicrosoftGraphUserTeamwork teamwork)
Set the teamwork property: userTeamwork.MicrosoftGraphUserInner
withTodo(MicrosoftGraphTodoInner todo)
Set the todo property: todo.MicrosoftGraphUserInner
withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf)
Set the transitiveMemberOf property: The transitiveMemberOf property.MicrosoftGraphUserInner
withUsageLocation(String usageLocation)
Set the usageLocation property: A two letter country code (ISO standard 3166).MicrosoftGraphUserInner
withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: The user principal name (UPN) of the user.MicrosoftGraphUserInner
withUserType(String userType)
Set the userType property: A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTime
-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
accountEnabled
public Boolean accountEnabled()
Get the accountEnabled property: true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter.- Returns:
- the accountEnabled value.
-
withAccountEnabled
public MicrosoftGraphUserInner withAccountEnabled(Boolean accountEnabled)
Set the accountEnabled property: true if the account is enabled; otherwise, false. This property is required when a user is created. Supports $filter.- Parameters:
accountEnabled
- the accountEnabled value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
ageGroup
public String ageGroup()
Get the ageGroup property: 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.- Returns:
- the ageGroup value.
-
withAgeGroup
public MicrosoftGraphUserInner withAgeGroup(String ageGroup)
Set the ageGroup property: 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.- Parameters:
ageGroup
- the ageGroup value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
assignedLicenses
public List<MicrosoftGraphAssignedLicense> assignedLicenses()
Get the assignedLicenses property: The licenses that are assigned to the user. Not nullable.- Returns:
- the assignedLicenses value.
-
withAssignedLicenses
public MicrosoftGraphUserInner withAssignedLicenses(List<MicrosoftGraphAssignedLicense> assignedLicenses)
Set the assignedLicenses property: The licenses that are assigned to the user. Not nullable.- Parameters:
assignedLicenses
- the assignedLicenses value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
assignedPlans
public List<MicrosoftGraphAssignedPlan> assignedPlans()
Get the assignedPlans property: The plans that are assigned to the user. Read-only. Not nullable.- Returns:
- the assignedPlans value.
-
withAssignedPlans
public MicrosoftGraphUserInner withAssignedPlans(List<MicrosoftGraphAssignedPlan> assignedPlans)
Set the assignedPlans property: The plans that are assigned to the user. Read-only. Not nullable.- Parameters:
assignedPlans
- the assignedPlans value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
businessPhones
public List<String> businessPhones()
Get the businessPhones property: 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.- Returns:
- the businessPhones value.
-
withBusinessPhones
public MicrosoftGraphUserInner withBusinessPhones(List<String> businessPhones)
Set the businessPhones property: 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.- Parameters:
businessPhones
- the businessPhones value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
city
public String city()
Get the city property: The city in which the user is located. Supports $filter.- Returns:
- the city value.
-
withCity
public MicrosoftGraphUserInner withCity(String city)
Set the city property: The city in which the user is located. Supports $filter.- Parameters:
city
- the city value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
companyName
public String companyName()
Get the companyName property: 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 of the company name is 64 chararcters.Returned only on $select.- Returns:
- the companyName value.
-
withCompanyName
public MicrosoftGraphUserInner withCompanyName(String companyName)
Set the companyName property: 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 of the company name is 64 chararcters.Returned only on $select.- Parameters:
companyName
- the companyName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
consentProvidedForMinor
public String consentProvidedForMinor()
Get the consentProvidedForMinor property: 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.- Returns:
- the consentProvidedForMinor value.
-
withConsentProvidedForMinor
public MicrosoftGraphUserInner withConsentProvidedForMinor(String consentProvidedForMinor)
Set the consentProvidedForMinor property: 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.- Parameters:
consentProvidedForMinor
- the consentProvidedForMinor value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
country
public String country()
Get the country property: The country/region in which the user is located; for example, 'US' or 'UK'. Supports $filter.- Returns:
- the country value.
-
withCountry
public MicrosoftGraphUserInner withCountry(String country)
Set the country property: The country/region in which the user is located; for example, 'US' or 'UK'. Supports $filter.- Parameters:
country
- the country value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
createdDateTime
public OffsetDateTime createdDateTime()
Get the createdDateTime property: The created date of the user object.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
public MicrosoftGraphUserInner withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: The created date of the user object.- Parameters:
createdDateTime
- the createdDateTime value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
creationType
public String creationType()
Get the creationType property: Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Read-only.- Returns:
- the creationType value.
-
withCreationType
public MicrosoftGraphUserInner withCreationType(String creationType)
Set the creationType property: Indicates whether the user account was created as a regular school or work account (null), an external account (Invitation), a local account for an Azure Active Directory B2C tenant (LocalAccount) or self-service sign-up using email verification (EmailVerified). Read-only.- Parameters:
creationType
- the creationType value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
department
public String department()
Get the department property: The name for the department in which the user works. Supports $filter.- Returns:
- the department value.
-
withDepartment
public MicrosoftGraphUserInner withDepartment(String department)
Set the department property: The name for the department in which the user works. Supports $filter.- Parameters:
department
- the department value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
displayName
public String displayName()
Get the displayName property: 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. Supports $filter and $orderby.- Returns:
- the displayName value.
-
withDisplayName
public MicrosoftGraphUserInner withDisplayName(String displayName)
Set the displayName property: 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. Supports $filter and $orderby.- Parameters:
displayName
- the displayName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
employeeHireDate
public OffsetDateTime employeeHireDate()
Get the employeeHireDate property: 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.- Returns:
- the employeeHireDate value.
-
withEmployeeHireDate
public MicrosoftGraphUserInner withEmployeeHireDate(OffsetDateTime employeeHireDate)
Set the employeeHireDate property: 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.- Parameters:
employeeHireDate
- the employeeHireDate value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
employeeId
public String employeeId()
Get the employeeId property: The employee identifier assigned to the user by the organization. Returned only on $select. Supports $filter.- Returns:
- the employeeId value.
-
withEmployeeId
public MicrosoftGraphUserInner withEmployeeId(String employeeId)
Set the employeeId property: The employee identifier assigned to the user by the organization. Returned only on $select. Supports $filter.- Parameters:
employeeId
- the employeeId value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
employeeOrgData
public MicrosoftGraphEmployeeOrgData employeeOrgData()
Get the employeeOrgData property: employeeOrgData.- Returns:
- the employeeOrgData value.
-
withEmployeeOrgData
public MicrosoftGraphUserInner withEmployeeOrgData(MicrosoftGraphEmployeeOrgData employeeOrgData)
Set the employeeOrgData property: employeeOrgData.- Parameters:
employeeOrgData
- the employeeOrgData value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
employeeType
public String employeeType()
Get the employeeType property: Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter.- Returns:
- the employeeType value.
-
withEmployeeType
public MicrosoftGraphUserInner withEmployeeType(String employeeType)
Set the employeeType property: Captures enterprise worker type: Employee, Contractor, Consultant, Vendor, etc. Returned only on $select. Supports $filter.- Parameters:
employeeType
- the employeeType value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
externalUserState
public String externalUserState()
Get the externalUserState property: 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 with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'.- Returns:
- the externalUserState value.
-
withExternalUserState
public MicrosoftGraphUserInner withExternalUserState(String externalUserState)
Set the externalUserState property: 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 with the supported values. For example: $filter=externalUserState eq 'PendingAcceptance'.- Parameters:
externalUserState
- the externalUserState value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
externalUserStateChangeDateTime
public OffsetDateTime externalUserStateChangeDateTime()
Get the externalUserStateChangeDateTime property: Shows the timestamp for the latest change to the externalUserState property. Returned only on $select.- Returns:
- the externalUserStateChangeDateTime value.
-
withExternalUserStateChangeDateTime
public MicrosoftGraphUserInner withExternalUserStateChangeDateTime(OffsetDateTime externalUserStateChangeDateTime)
Set the externalUserStateChangeDateTime property: Shows the timestamp for the latest change to the externalUserState property. Returned only on $select.- Parameters:
externalUserStateChangeDateTime
- the externalUserStateChangeDateTime value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
faxNumber
public String faxNumber()
Get the faxNumber property: The fax number of the user.- Returns:
- the faxNumber value.
-
withFaxNumber
public MicrosoftGraphUserInner withFaxNumber(String faxNumber)
Set the faxNumber property: The fax number of the user.- Parameters:
faxNumber
- the faxNumber value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
givenName
public String givenName()
Get the givenName property: The given name (first name) of the user. Supports $filter.- Returns:
- the givenName value.
-
withGivenName
public MicrosoftGraphUserInner withGivenName(String givenName)
Set the givenName property: The given name (first name) of the user. Supports $filter.- Parameters:
givenName
- the givenName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
identities
public List<MicrosoftGraphObjectIdentity> identities()
Get the identities property: 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. Supports $filter.- Returns:
- the identities value.
-
withIdentities
public MicrosoftGraphUserInner withIdentities(List<MicrosoftGraphObjectIdentity> identities)
Set the identities property: 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. Supports $filter.- Parameters:
identities
- the identities value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
imAddresses
public List<String> imAddresses()
Get the imAddresses property: The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only.- Returns:
- the imAddresses value.
-
withImAddresses
public MicrosoftGraphUserInner withImAddresses(List<String> imAddresses)
Set the imAddresses property: The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only.- Parameters:
imAddresses
- the imAddresses value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
isResourceAccount
public Boolean isResourceAccount()
Get the isResourceAccount property: Do not use – reserved for future use.- Returns:
- the isResourceAccount value.
-
withIsResourceAccount
public MicrosoftGraphUserInner withIsResourceAccount(Boolean isResourceAccount)
Set the isResourceAccount property: Do not use – reserved for future use.- Parameters:
isResourceAccount
- the isResourceAccount value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
jobTitle
public String jobTitle()
Get the jobTitle property: The user's job title. Supports $filter.- Returns:
- the jobTitle value.
-
withJobTitle
public MicrosoftGraphUserInner withJobTitle(String jobTitle)
Set the jobTitle property: The user's job title. Supports $filter.- Parameters:
jobTitle
- the jobTitle value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
lastPasswordChangeDateTime
public OffsetDateTime lastPasswordChangeDateTime()
Get the lastPasswordChangeDateTime property: The time when this Azure AD user last changed their password. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.- Returns:
- the lastPasswordChangeDateTime value.
-
withLastPasswordChangeDateTime
public MicrosoftGraphUserInner withLastPasswordChangeDateTime(OffsetDateTime lastPasswordChangeDateTime)
Set the lastPasswordChangeDateTime property: The time when this Azure AD user last changed their password. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.- Parameters:
lastPasswordChangeDateTime
- the lastPasswordChangeDateTime value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
legalAgeGroupClassification
public String legalAgeGroupClassification()
Get the legalAgeGroupClassification property: 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.- Returns:
- the legalAgeGroupClassification value.
-
withLegalAgeGroupClassification
public MicrosoftGraphUserInner withLegalAgeGroupClassification(String legalAgeGroupClassification)
Set the legalAgeGroupClassification property: 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.- Parameters:
legalAgeGroupClassification
- the legalAgeGroupClassification value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
licenseAssignmentStates
public List<MicrosoftGraphLicenseAssignmentState> licenseAssignmentStates()
Get the licenseAssignmentStates property: State of license assignments for this user. Read-only.- Returns:
- the licenseAssignmentStates value.
-
withLicenseAssignmentStates
public MicrosoftGraphUserInner withLicenseAssignmentStates(List<MicrosoftGraphLicenseAssignmentState> licenseAssignmentStates)
Set the licenseAssignmentStates property: State of license assignments for this user. Read-only.- Parameters:
licenseAssignmentStates
- the licenseAssignmentStates value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
mail
public String mail()
Get the mail property: The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter.- Returns:
- the mail value.
-
withMail
public MicrosoftGraphUserInner withMail(String mail)
Set the mail property: The SMTP address for the user, for example, 'jeff@contoso.onmicrosoft.com'. Supports $filter.- Parameters:
mail
- the mail value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
mailNickname
public String mailNickname()
Get the mailNickname property: The mail alias for the user. This property must be specified when a user is created. Supports $filter.- Returns:
- the mailNickname value.
-
withMailNickname
public MicrosoftGraphUserInner withMailNickname(String mailNickname)
Set the mailNickname property: The mail alias for the user. This property must be specified when a user is created. Supports $filter.- Parameters:
mailNickname
- the mailNickname value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
mobilePhone
public String mobilePhone()
Get the mobilePhone property: The primary cellular telephone number for the user. Read-only for users synced from on-premises directory.- Returns:
- the mobilePhone value.
-
withMobilePhone
public MicrosoftGraphUserInner withMobilePhone(String mobilePhone)
Set the mobilePhone property: The primary cellular telephone number for the user. Read-only for users synced from on-premises directory.- Parameters:
mobilePhone
- the mobilePhone value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
officeLocation
public String officeLocation()
Get the officeLocation property: The office location in the user's place of business.- Returns:
- the officeLocation value.
-
withOfficeLocation
public MicrosoftGraphUserInner withOfficeLocation(String officeLocation)
Set the officeLocation property: The office location in the user's place of business.- Parameters:
officeLocation
- the officeLocation value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesDistinguishedName
public String onPremisesDistinguishedName()
Get the onPremisesDistinguishedName property: 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.- Returns:
- the onPremisesDistinguishedName value.
-
withOnPremisesDistinguishedName
public MicrosoftGraphUserInner withOnPremisesDistinguishedName(String onPremisesDistinguishedName)
Set the onPremisesDistinguishedName property: 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.- Parameters:
onPremisesDistinguishedName
- the onPremisesDistinguishedName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesDomainName
public String onPremisesDomainName()
Get the onPremisesDomainName property: 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.- Returns:
- the onPremisesDomainName value.
-
withOnPremisesDomainName
public MicrosoftGraphUserInner withOnPremisesDomainName(String onPremisesDomainName)
Set the onPremisesDomainName property: 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.- Parameters:
onPremisesDomainName
- the onPremisesDomainName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesExtensionAttributes
public MicrosoftGraphOnPremisesExtensionAttributes onPremisesExtensionAttributes()
Get the onPremisesExtensionAttributes property: onPremisesExtensionAttributes.- Returns:
- the onPremisesExtensionAttributes value.
-
withOnPremisesExtensionAttributes
public MicrosoftGraphUserInner withOnPremisesExtensionAttributes(MicrosoftGraphOnPremisesExtensionAttributes onPremisesExtensionAttributes)
Set the onPremisesExtensionAttributes property: onPremisesExtensionAttributes.- Parameters:
onPremisesExtensionAttributes
- the onPremisesExtensionAttributes value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesImmutableId
public String onPremisesImmutableId()
Get the onPremisesImmutableId property: 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. Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.- Returns:
- the onPremisesImmutableId value.
-
withOnPremisesImmutableId
public MicrosoftGraphUserInner withOnPremisesImmutableId(String onPremisesImmutableId)
Set the onPremisesImmutableId property: 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. Important: The $ and _ characters cannot be used when specifying this property. Supports $filter.- Parameters:
onPremisesImmutableId
- the onPremisesImmutableId value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesLastSyncDateTime
public OffsetDateTime onPremisesLastSyncDateTime()
Get the onPremisesLastSyncDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'. Read-only.- Returns:
- the onPremisesLastSyncDateTime value.
-
withOnPremisesLastSyncDateTime
public MicrosoftGraphUserInner withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
Set the onPremisesLastSyncDateTime property: 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 would look like this: '2014-01-01T00:00:00Z'. Read-only.- Parameters:
onPremisesLastSyncDateTime
- the onPremisesLastSyncDateTime value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesProvisioningErrors
public List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors()
Get the onPremisesProvisioningErrors property: Errors when using Microsoft synchronization product during provisioning.- Returns:
- the onPremisesProvisioningErrors value.
-
withOnPremisesProvisioningErrors
public MicrosoftGraphUserInner withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors)
Set the onPremisesProvisioningErrors property: Errors when using Microsoft synchronization product during provisioning.- Parameters:
onPremisesProvisioningErrors
- the onPremisesProvisioningErrors value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesSamAccountName
public String onPremisesSamAccountName()
Get the onPremisesSamAccountName property: 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.- Returns:
- the onPremisesSamAccountName value.
-
withOnPremisesSamAccountName
public MicrosoftGraphUserInner withOnPremisesSamAccountName(String onPremisesSamAccountName)
Set the onPremisesSamAccountName property: 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.- Parameters:
onPremisesSamAccountName
- the onPremisesSamAccountName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesSecurityIdentifier
public String onPremisesSecurityIdentifier()
Get the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only.- Returns:
- the onPremisesSecurityIdentifier value.
-
withOnPremisesSecurityIdentifier
public MicrosoftGraphUserInner withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)
Set the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the user that was synchronized from on-premises to the cloud. Read-only.- Parameters:
onPremisesSecurityIdentifier
- the onPremisesSecurityIdentifier value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesSyncEnabled
public Boolean onPremisesSyncEnabled()
Get the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only.- Returns:
- the onPremisesSyncEnabled value.
-
withOnPremisesSyncEnabled
public MicrosoftGraphUserInner withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
Set the onPremisesSyncEnabled property: true if this object is synced from an on-premises directory; false if this object was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Read-only.- Parameters:
onPremisesSyncEnabled
- the onPremisesSyncEnabled value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onPremisesUserPrincipalName
public String onPremisesUserPrincipalName()
Get the onPremisesUserPrincipalName property: 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.- Returns:
- the onPremisesUserPrincipalName value.
-
withOnPremisesUserPrincipalName
public MicrosoftGraphUserInner withOnPremisesUserPrincipalName(String onPremisesUserPrincipalName)
Set the onPremisesUserPrincipalName property: 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.- Parameters:
onPremisesUserPrincipalName
- the onPremisesUserPrincipalName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
otherMails
public List<String> otherMails()
Get the otherMails property: A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Supports $filter.- Returns:
- the otherMails value.
-
withOtherMails
public MicrosoftGraphUserInner withOtherMails(List<String> otherMails)
Set the otherMails property: A list of additional email addresses for the user; for example: ['bob@contoso.com', 'Robert@fabrikam.com']. Supports $filter.- Parameters:
otherMails
- the otherMails value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
passwordPolicies
public String passwordPolicies()
Get the passwordPolicies property: 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'.- Returns:
- the passwordPolicies value.
-
withPasswordPolicies
public MicrosoftGraphUserInner withPasswordPolicies(String passwordPolicies)
Set the passwordPolicies property: 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'.- Parameters:
passwordPolicies
- the passwordPolicies value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
passwordProfile
public MicrosoftGraphPasswordProfile passwordProfile()
Get the passwordProfile property: passwordProfile.- Returns:
- the passwordProfile value.
-
withPasswordProfile
public MicrosoftGraphUserInner withPasswordProfile(MicrosoftGraphPasswordProfile passwordProfile)
Set the passwordProfile property: passwordProfile.- Parameters:
passwordProfile
- the passwordProfile value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
postalCode
public String postalCode()
Get the postalCode property: 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.- Returns:
- the postalCode value.
-
withPostalCode
public MicrosoftGraphUserInner withPostalCode(String postalCode)
Set the postalCode property: 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.- Parameters:
postalCode
- the postalCode value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
preferredLanguage
public String preferredLanguage()
Get the preferredLanguage property: The preferred language for the user. Should follow ISO 639-1 Code; for example 'en-US'.- Returns:
- the preferredLanguage value.
-
withPreferredLanguage
public MicrosoftGraphUserInner withPreferredLanguage(String preferredLanguage)
Set the preferredLanguage property: The preferred language for the user. Should follow ISO 639-1 Code; for example 'en-US'.- Parameters:
preferredLanguage
- the preferredLanguage value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
provisionedPlans
public List<MicrosoftGraphProvisionedPlan> provisionedPlans()
Get the provisionedPlans property: The plans that are provisioned for the user. Read-only. Not nullable.- Returns:
- the provisionedPlans value.
-
withProvisionedPlans
public MicrosoftGraphUserInner withProvisionedPlans(List<MicrosoftGraphProvisionedPlan> provisionedPlans)
Set the provisionedPlans property: The plans that are provisioned for the user. Read-only. Not nullable.- Parameters:
provisionedPlans
- the provisionedPlans value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
proxyAddresses
public List<String> proxyAddresses()
Get the proxyAddresses property: For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties. Read-only, Not nullable. Supports $filter.- Returns:
- the proxyAddresses value.
-
withProxyAddresses
public MicrosoftGraphUserInner withProxyAddresses(List<String> proxyAddresses)
Set the proxyAddresses property: For example: ['SMTP: bob@contoso.com', 'smtp: bob@sales.contoso.com'] The any operator is required for filter expressions on multi-valued properties. Read-only, Not nullable. Supports $filter.- Parameters:
proxyAddresses
- the proxyAddresses value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
showInAddressList
public Boolean showInAddressList()
Get the showInAddressList property: true if the Outlook global address list should contain this user, otherwise false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false.- Returns:
- the showInAddressList value.
-
withShowInAddressList
public MicrosoftGraphUserInner withShowInAddressList(Boolean showInAddressList)
Set the showInAddressList property: true if the Outlook global address list should contain this user, otherwise false. If not set, this will be treated as true. For users invited through the invitation manager, this property will be set to false.- Parameters:
showInAddressList
- the showInAddressList value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
signInSessionsValidFromDateTime
public OffsetDateTime signInSessionsValidFromDateTime()
Get the signInSessionsValidFromDateTime property: 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.- Returns:
- the signInSessionsValidFromDateTime value.
-
withSignInSessionsValidFromDateTime
public MicrosoftGraphUserInner withSignInSessionsValidFromDateTime(OffsetDateTime signInSessionsValidFromDateTime)
Set the signInSessionsValidFromDateTime property: 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.- Parameters:
signInSessionsValidFromDateTime
- the signInSessionsValidFromDateTime value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
state
public String state()
Get the state property: The state or province in the user's address. Supports $filter.- Returns:
- the state value.
-
withState
public MicrosoftGraphUserInner withState(String state)
Set the state property: The state or province in the user's address. Supports $filter.- Parameters:
state
- the state value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
streetAddress
public String streetAddress()
Get the streetAddress property: The street address of the user's place of business.- Returns:
- the streetAddress value.
-
withStreetAddress
public MicrosoftGraphUserInner withStreetAddress(String streetAddress)
Set the streetAddress property: The street address of the user's place of business.- Parameters:
streetAddress
- the streetAddress value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
surname
public String surname()
Get the surname property: The user's surname (family name or last name). Supports $filter.- Returns:
- the surname value.
-
withSurname
public MicrosoftGraphUserInner withSurname(String surname)
Set the surname property: The user's surname (family name or last name). Supports $filter.- Parameters:
surname
- the surname value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
usageLocation
public String usageLocation()
Get the usageLocation property: 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. Supports $filter.- Returns:
- the usageLocation value.
-
withUsageLocation
public MicrosoftGraphUserInner withUsageLocation(String usageLocation)
Set the usageLocation property: 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. Supports $filter.- Parameters:
usageLocation
- the usageLocation value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
userPrincipalName
public String userPrincipalName()
Get the userPrincipalName property: 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. Supports $filter and $orderby.- Returns:
- the userPrincipalName value.
-
withUserPrincipalName
public MicrosoftGraphUserInner withUserPrincipalName(String userPrincipalName)
Set the userPrincipalName property: 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. Supports $filter and $orderby.- Parameters:
userPrincipalName
- the userPrincipalName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
userType
public String userType()
Get the userType property: A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports $filter.- Returns:
- the userType value.
-
withUserType
public MicrosoftGraphUserInner withUserType(String userType)
Set the userType property: A string value that can be used to classify user types in your directory, such as 'Member' and 'Guest'. Supports $filter.- Parameters:
userType
- the userType value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
mailboxSettings
public MicrosoftGraphMailboxSettings mailboxSettings()
Get the mailboxSettings property: mailboxSettings.- Returns:
- the mailboxSettings value.
-
withMailboxSettings
public MicrosoftGraphUserInner withMailboxSettings(MicrosoftGraphMailboxSettings mailboxSettings)
Set the mailboxSettings property: mailboxSettings.- Parameters:
mailboxSettings
- the mailboxSettings value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
deviceEnrollmentLimit
public Integer deviceEnrollmentLimit()
Get the deviceEnrollmentLimit property: The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.- Returns:
- the deviceEnrollmentLimit value.
-
withDeviceEnrollmentLimit
public MicrosoftGraphUserInner withDeviceEnrollmentLimit(Integer deviceEnrollmentLimit)
Set the deviceEnrollmentLimit property: The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.- Parameters:
deviceEnrollmentLimit
- the deviceEnrollmentLimit value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
aboutMe
public String aboutMe()
Get the aboutMe property: A freeform text entry field for the user to describe themselves.- Returns:
- the aboutMe value.
-
withAboutMe
public MicrosoftGraphUserInner withAboutMe(String aboutMe)
Set the aboutMe property: A freeform text entry field for the user to describe themselves.- Parameters:
aboutMe
- the aboutMe value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
birthday
public OffsetDateTime birthday()
Get the birthday property: 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 would look like this: '2014-01-01T00:00:00Z'.- Returns:
- the birthday value.
-
withBirthday
public MicrosoftGraphUserInner withBirthday(OffsetDateTime birthday)
Set the birthday property: 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 would look like this: '2014-01-01T00:00:00Z'.- Parameters:
birthday
- the birthday value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
hireDate
public OffsetDateTime hireDate()
Get the hireDate property: 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 would look like this: '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.- Returns:
- the hireDate value.
-
withHireDate
public MicrosoftGraphUserInner withHireDate(OffsetDateTime hireDate)
Set the hireDate property: 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 would look like this: '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.- Parameters:
hireDate
- the hireDate value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
interests
public List<String> interests()
Get the interests property: A list for the user to describe their interests.- Returns:
- the interests value.
-
withInterests
public MicrosoftGraphUserInner withInterests(List<String> interests)
Set the interests property: A list for the user to describe their interests.- Parameters:
interests
- the interests value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
mySite
public String mySite()
Get the mySite property: The URL for the user's personal site.- Returns:
- the mySite value.
-
withMySite
public MicrosoftGraphUserInner withMySite(String mySite)
Set the mySite property: The URL for the user's personal site.- Parameters:
mySite
- the mySite value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
pastProjects
public List<String> pastProjects()
Get the pastProjects property: A list for the user to enumerate their past projects.- Returns:
- the pastProjects value.
-
withPastProjects
public MicrosoftGraphUserInner withPastProjects(List<String> pastProjects)
Set the pastProjects property: A list for the user to enumerate their past projects.- Parameters:
pastProjects
- the pastProjects value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
preferredName
public String preferredName()
Get the preferredName property: The preferred name for the user.- Returns:
- the preferredName value.
-
withPreferredName
public MicrosoftGraphUserInner withPreferredName(String preferredName)
Set the preferredName property: The preferred name for the user.- Parameters:
preferredName
- the preferredName value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
responsibilities
public List<String> responsibilities()
Get the responsibilities property: A list for the user to enumerate their responsibilities.- Returns:
- the responsibilities value.
-
withResponsibilities
public MicrosoftGraphUserInner withResponsibilities(List<String> responsibilities)
Set the responsibilities property: A list for the user to enumerate their responsibilities.- Parameters:
responsibilities
- the responsibilities value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
schools
public List<String> schools()
Get the schools property: A list for the user to enumerate the schools they have attended.- Returns:
- the schools value.
-
withSchools
public MicrosoftGraphUserInner withSchools(List<String> schools)
Set the schools property: A list for the user to enumerate the schools they have attended.- Parameters:
schools
- the schools value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
skills
public List<String> skills()
Get the skills property: A list for the user to enumerate their skills.- Returns:
- the skills value.
-
withSkills
public MicrosoftGraphUserInner withSkills(List<String> skills)
Set the skills property: A list for the user to enumerate their skills.- Parameters:
skills
- the skills value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
appRoleAssignments
public List<MicrosoftGraphAppRoleAssignmentInner> appRoleAssignments()
Get the appRoleAssignments property: The appRoleAssignments property.- Returns:
- the appRoleAssignments value.
-
withAppRoleAssignments
public MicrosoftGraphUserInner withAppRoleAssignments(List<MicrosoftGraphAppRoleAssignmentInner> appRoleAssignments)
Set the appRoleAssignments property: The appRoleAssignments property.- Parameters:
appRoleAssignments
- the appRoleAssignments value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
createdObjects
public List<MicrosoftGraphDirectoryObjectInner> createdObjects()
Get the createdObjects property: Directory objects that were created by the user. Read-only. Nullable.- Returns:
- the createdObjects value.
-
withCreatedObjects
public MicrosoftGraphUserInner withCreatedObjects(List<MicrosoftGraphDirectoryObjectInner> createdObjects)
Set the createdObjects property: Directory objects that were created by the user. Read-only. Nullable.- Parameters:
createdObjects
- the createdObjects value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
directReports
public List<MicrosoftGraphDirectoryObjectInner> directReports()
Get the directReports property: 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.- Returns:
- the directReports value.
-
withDirectReports
public MicrosoftGraphUserInner withDirectReports(List<MicrosoftGraphDirectoryObjectInner> directReports)
Set the directReports property: 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.- Parameters:
directReports
- the directReports value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
licenseDetails
public List<MicrosoftGraphLicenseDetailsInner> licenseDetails()
Get the licenseDetails property: A collection of this user's license details. Read-only.- Returns:
- the licenseDetails value.
-
withLicenseDetails
public MicrosoftGraphUserInner withLicenseDetails(List<MicrosoftGraphLicenseDetailsInner> licenseDetails)
Set the licenseDetails property: A collection of this user's license details. Read-only.- Parameters:
licenseDetails
- the licenseDetails value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
manager
public MicrosoftGraphDirectoryObjectInner manager()
Get the manager property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Returns:
- the manager value.
-
withManager
public MicrosoftGraphUserInner withManager(MicrosoftGraphDirectoryObjectInner manager)
Set the manager property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Parameters:
manager
- the manager value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
memberOf
public List<MicrosoftGraphDirectoryObjectInner> memberOf()
Get the memberOf property: The groups and directory roles that the user is a member of. Read-only. Nullable.- Returns:
- the memberOf value.
-
withMemberOf
public MicrosoftGraphUserInner withMemberOf(List<MicrosoftGraphDirectoryObjectInner> memberOf)
Set the memberOf property: The groups and directory roles that the user is a member of. Read-only. Nullable.- Parameters:
memberOf
- the memberOf value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
oauth2PermissionGrants
public List<MicrosoftGraphOAuth2PermissionGrantInner> oauth2PermissionGrants()
Get the oauth2PermissionGrants property: The oauth2PermissionGrants property.- Returns:
- the oauth2PermissionGrants value.
-
withOauth2PermissionGrants
public MicrosoftGraphUserInner withOauth2PermissionGrants(List<MicrosoftGraphOAuth2PermissionGrantInner> oauth2PermissionGrants)
Set the oauth2PermissionGrants property: The oauth2PermissionGrants property.- Parameters:
oauth2PermissionGrants
- the oauth2PermissionGrants value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
ownedDevices
public List<MicrosoftGraphDirectoryObjectInner> ownedDevices()
Get the ownedDevices property: Devices that are owned by the user. Read-only. Nullable.- Returns:
- the ownedDevices value.
-
withOwnedDevices
public MicrosoftGraphUserInner withOwnedDevices(List<MicrosoftGraphDirectoryObjectInner> ownedDevices)
Set the ownedDevices property: Devices that are owned by the user. Read-only. Nullable.- Parameters:
ownedDevices
- the ownedDevices value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
ownedObjects
public List<MicrosoftGraphDirectoryObjectInner> ownedObjects()
Get the ownedObjects property: Directory objects that are owned by the user. Read-only. Nullable.- Returns:
- the ownedObjects value.
-
withOwnedObjects
public MicrosoftGraphUserInner withOwnedObjects(List<MicrosoftGraphDirectoryObjectInner> ownedObjects)
Set the ownedObjects property: Directory objects that are owned by the user. Read-only. Nullable.- Parameters:
ownedObjects
- the ownedObjects value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
registeredDevices
public List<MicrosoftGraphDirectoryObjectInner> registeredDevices()
Get the registeredDevices property: Devices that are registered for the user. Read-only. Nullable.- Returns:
- the registeredDevices value.
-
withRegisteredDevices
public MicrosoftGraphUserInner withRegisteredDevices(List<MicrosoftGraphDirectoryObjectInner> registeredDevices)
Set the registeredDevices property: Devices that are registered for the user. Read-only. Nullable.- Parameters:
registeredDevices
- the registeredDevices value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
scopedRoleMemberOf
public List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMemberOf()
Get the scopedRoleMemberOf property: The scopedRoleMemberOf property.- Returns:
- the scopedRoleMemberOf value.
-
withScopedRoleMemberOf
public MicrosoftGraphUserInner withScopedRoleMemberOf(List<MicrosoftGraphScopedRoleMembershipInner> scopedRoleMemberOf)
Set the scopedRoleMemberOf property: The scopedRoleMemberOf property.- Parameters:
scopedRoleMemberOf
- the scopedRoleMemberOf value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
transitiveMemberOf
public List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf()
Get the transitiveMemberOf property: The transitiveMemberOf property.- Returns:
- the transitiveMemberOf value.
-
withTransitiveMemberOf
public MicrosoftGraphUserInner withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf)
Set the transitiveMemberOf property: The transitiveMemberOf property.- Parameters:
transitiveMemberOf
- the transitiveMemberOf value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
calendar
public MicrosoftGraphCalendar calendar()
Get the calendar property: calendar.- Returns:
- the calendar value.
-
withCalendar
public MicrosoftGraphUserInner withCalendar(MicrosoftGraphCalendar calendar)
Set the calendar property: calendar.- Parameters:
calendar
- the calendar value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
calendarGroups
public List<MicrosoftGraphCalendarGroup> calendarGroups()
Get the calendarGroups property: The user's calendar groups. Read-only. Nullable.- Returns:
- the calendarGroups value.
-
withCalendarGroups
public MicrosoftGraphUserInner withCalendarGroups(List<MicrosoftGraphCalendarGroup> calendarGroups)
Set the calendarGroups property: The user's calendar groups. Read-only. Nullable.- Parameters:
calendarGroups
- the calendarGroups value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
calendars
public List<MicrosoftGraphCalendar> calendars()
Get the calendars property: The user's calendars. Read-only. Nullable.- Returns:
- the calendars value.
-
withCalendars
public MicrosoftGraphUserInner withCalendars(List<MicrosoftGraphCalendar> calendars)
Set the calendars property: The user's calendars. Read-only. Nullable.- Parameters:
calendars
- the calendars value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
calendarView
public List<MicrosoftGraphEvent> calendarView()
Get the calendarView property: The calendar view for the calendar. Read-only. Nullable.- Returns:
- the calendarView value.
-
withCalendarView
public MicrosoftGraphUserInner withCalendarView(List<MicrosoftGraphEvent> calendarView)
Set the calendarView property: The calendar view for the calendar. Read-only. Nullable.- Parameters:
calendarView
- the calendarView value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
contactFolders
public List<MicrosoftGraphContactFolder> contactFolders()
Get the contactFolders property: The user's contacts folders. Read-only. Nullable.- Returns:
- the contactFolders value.
-
withContactFolders
public MicrosoftGraphUserInner withContactFolders(List<MicrosoftGraphContactFolder> contactFolders)
Set the contactFolders property: The user's contacts folders. Read-only. Nullable.- Parameters:
contactFolders
- the contactFolders value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
contacts
public List<MicrosoftGraphContactInner> contacts()
Get the contacts property: The user's contacts. Read-only. Nullable.- Returns:
- the contacts value.
-
withContacts
public MicrosoftGraphUserInner withContacts(List<MicrosoftGraphContactInner> contacts)
Set the contacts property: The user's contacts. Read-only. Nullable.- Parameters:
contacts
- the contacts value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
events
public List<MicrosoftGraphEvent> events()
Get the events property: The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable.- Returns:
- the events value.
-
withEvents
public MicrosoftGraphUserInner withEvents(List<MicrosoftGraphEvent> events)
Set the events property: The user's events. Default is to show Events under the Default Calendar. Read-only. Nullable.- Parameters:
events
- the events value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
inferenceClassification
public MicrosoftGraphInferenceClassification inferenceClassification()
Get the inferenceClassification property: inferenceClassification.- Returns:
- the inferenceClassification value.
-
withInferenceClassification
public MicrosoftGraphUserInner withInferenceClassification(MicrosoftGraphInferenceClassification inferenceClassification)
Set the inferenceClassification property: inferenceClassification.- Parameters:
inferenceClassification
- the inferenceClassification value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
mailFolders
public List<MicrosoftGraphMailFolder> mailFolders()
Get the mailFolders property: The user's mail folders. Read-only. Nullable.- Returns:
- the mailFolders value.
-
withMailFolders
public MicrosoftGraphUserInner withMailFolders(List<MicrosoftGraphMailFolder> mailFolders)
Set the mailFolders property: The user's mail folders. Read-only. Nullable.- Parameters:
mailFolders
- the mailFolders value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
messages
public List<MicrosoftGraphMessage> messages()
Get the messages property: The messages in a mailbox or folder. Read-only. Nullable.- Returns:
- the messages value.
-
withMessages
public MicrosoftGraphUserInner withMessages(List<MicrosoftGraphMessage> messages)
Set the messages property: The messages in a mailbox or folder. Read-only. Nullable.- Parameters:
messages
- the messages value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
outlook
public MicrosoftGraphOutlookUserInner outlook()
Get the outlook property: outlookUser.- Returns:
- the outlook value.
-
withOutlook
public MicrosoftGraphUserInner withOutlook(MicrosoftGraphOutlookUserInner outlook)
Set the outlook property: outlookUser.- Parameters:
outlook
- the outlook value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
people
public List<MicrosoftGraphPerson> people()
Get the people property: People that are relevant to the user. Read-only. Nullable.- Returns:
- the people value.
-
withPeople
public MicrosoftGraphUserInner withPeople(List<MicrosoftGraphPerson> people)
Set the people property: People that are relevant to the user. Read-only. Nullable.- Parameters:
people
- the people value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
photo
public MicrosoftGraphProfilePhotoInner photo()
Get the photo property: profilePhoto.- Returns:
- the photo value.
-
withPhoto
public MicrosoftGraphUserInner withPhoto(MicrosoftGraphProfilePhotoInner photo)
Set the photo property: profilePhoto.- Parameters:
photo
- the photo value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
photos
public List<MicrosoftGraphProfilePhotoInner> photos()
Get the photos property: The photos property.- Returns:
- the photos value.
-
withPhotos
public MicrosoftGraphUserInner withPhotos(List<MicrosoftGraphProfilePhotoInner> photos)
Set the photos property: The photos property.- Parameters:
photos
- the photos value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
drive
public MicrosoftGraphDrive drive()
Get the drive property: drive.- Returns:
- the drive value.
-
withDrive
public MicrosoftGraphUserInner withDrive(MicrosoftGraphDrive drive)
Set the drive property: drive.- Parameters:
drive
- the drive value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
drives
public List<MicrosoftGraphDrive> drives()
Get the drives property: A collection of drives available for this user. Read-only.- Returns:
- the drives value.
-
withDrives
public MicrosoftGraphUserInner withDrives(List<MicrosoftGraphDrive> drives)
Set the drives property: A collection of drives available for this user. Read-only.- Parameters:
drives
- the drives value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
followedSites
public List<MicrosoftGraphSite> followedSites()
Get the followedSites property: The followedSites property.- Returns:
- the followedSites value.
-
withFollowedSites
public MicrosoftGraphUserInner withFollowedSites(List<MicrosoftGraphSite> followedSites)
Set the followedSites property: The followedSites property.- Parameters:
followedSites
- the followedSites value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
extensions
public List<MicrosoftGraphExtensionInner> extensions()
Get the extensions property: The collection of open extensions defined for the user. Read-only. Nullable.- Returns:
- the extensions value.
-
withExtensions
public MicrosoftGraphUserInner withExtensions(List<MicrosoftGraphExtensionInner> extensions)
Set the extensions property: The collection of open extensions defined for the user. Read-only. Nullable.- Parameters:
extensions
- the extensions value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
managedDevices
public List<MicrosoftGraphManagedDevice> managedDevices()
Get the managedDevices property: The managed devices associated with the user.- Returns:
- the managedDevices value.
-
withManagedDevices
public MicrosoftGraphUserInner withManagedDevices(List<MicrosoftGraphManagedDevice> managedDevices)
Set the managedDevices property: The managed devices associated with the user.- Parameters:
managedDevices
- the managedDevices value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
managedAppRegistrations
public List<MicrosoftGraphManagedAppRegistration> managedAppRegistrations()
Get the managedAppRegistrations property: Zero or more managed app registrations that belong to the user.- Returns:
- the managedAppRegistrations value.
-
withManagedAppRegistrations
public MicrosoftGraphUserInner withManagedAppRegistrations(List<MicrosoftGraphManagedAppRegistration> managedAppRegistrations)
Set the managedAppRegistrations property: Zero or more managed app registrations that belong to the user.- Parameters:
managedAppRegistrations
- the managedAppRegistrations value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
deviceManagementTroubleshootingEvents
public List<MicrosoftGraphDeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents()
Get the deviceManagementTroubleshootingEvents property: The list of troubleshooting events for this user.- Returns:
- the deviceManagementTroubleshootingEvents value.
-
withDeviceManagementTroubleshootingEvents
public MicrosoftGraphUserInner withDeviceManagementTroubleshootingEvents(List<MicrosoftGraphDeviceManagementTroubleshootingEvent> deviceManagementTroubleshootingEvents)
Set the deviceManagementTroubleshootingEvents property: The list of troubleshooting events for this user.- Parameters:
deviceManagementTroubleshootingEvents
- the deviceManagementTroubleshootingEvents value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
planner
public MicrosoftGraphPlannerUser planner()
Get the planner property: plannerUser.- Returns:
- the planner value.
-
withPlanner
public MicrosoftGraphUserInner withPlanner(MicrosoftGraphPlannerUser planner)
Set the planner property: plannerUser.- Parameters:
planner
- the planner value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
insights
public MicrosoftGraphOfficeGraphInsights insights()
Get the insights property: officeGraphInsights.- Returns:
- the insights value.
-
withInsights
public MicrosoftGraphUserInner withInsights(MicrosoftGraphOfficeGraphInsights insights)
Set the insights property: officeGraphInsights.- Parameters:
insights
- the insights value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
settings
public MicrosoftGraphUserSettingsInner settings()
Get the settings property: userSettings.- Returns:
- the settings value.
-
withSettings
public MicrosoftGraphUserInner withSettings(MicrosoftGraphUserSettingsInner settings)
Set the settings property: userSettings.- Parameters:
settings
- the settings value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onenote
public MicrosoftGraphOnenote onenote()
Get the onenote property: onenote.- Returns:
- the onenote value.
-
withOnenote
public MicrosoftGraphUserInner withOnenote(MicrosoftGraphOnenote onenote)
Set the onenote property: onenote.- Parameters:
onenote
- the onenote value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
activities
public List<MicrosoftGraphUserActivity> activities()
Get the activities property: The user's activities across devices. Read-only. Nullable.- Returns:
- the activities value.
-
withActivities
public MicrosoftGraphUserInner withActivities(List<MicrosoftGraphUserActivity> activities)
Set the activities property: The user's activities across devices. Read-only. Nullable.- Parameters:
activities
- the activities value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
onlineMeetings
public List<MicrosoftGraphOnlineMeeting> onlineMeetings()
Get the onlineMeetings property: The onlineMeetings property.- Returns:
- the onlineMeetings value.
-
withOnlineMeetings
public MicrosoftGraphUserInner withOnlineMeetings(List<MicrosoftGraphOnlineMeeting> onlineMeetings)
Set the onlineMeetings property: The onlineMeetings property.- Parameters:
onlineMeetings
- the onlineMeetings value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
presence
public MicrosoftGraphPresence presence()
Get the presence property: presence.- Returns:
- the presence value.
-
withPresence
public MicrosoftGraphUserInner withPresence(MicrosoftGraphPresence presence)
Set the presence property: presence.- Parameters:
presence
- the presence value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
joinedTeams
public List<MicrosoftGraphTeamInner> joinedTeams()
Get the joinedTeams property: The joinedTeams property.- Returns:
- the joinedTeams value.
-
withJoinedTeams
public MicrosoftGraphUserInner withJoinedTeams(List<MicrosoftGraphTeamInner> joinedTeams)
Set the joinedTeams property: The joinedTeams property.- Parameters:
joinedTeams
- the joinedTeams value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
teamwork
public MicrosoftGraphUserTeamwork teamwork()
Get the teamwork property: userTeamwork.- Returns:
- the teamwork value.
-
withTeamwork
public MicrosoftGraphUserInner withTeamwork(MicrosoftGraphUserTeamwork teamwork)
Set the teamwork property: userTeamwork.- Parameters:
teamwork
- the teamwork value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
todo
public MicrosoftGraphTodoInner todo()
Get the todo property: todo.- Returns:
- the todo value.
-
withTodo
public MicrosoftGraphUserInner withTodo(MicrosoftGraphTodoInner todo)
Set the todo property: todo.- Parameters:
todo
- the todo value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Represents an Azure Active Directory user object.- Overrides:
additionalProperties
in classMicrosoftGraphDirectoryObjectInner
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphUserInner withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Represents an Azure Active Directory user object.- Overrides:
withAdditionalProperties
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphUserInner object itself.
-
withDeletedDateTime
public MicrosoftGraphUserInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTime
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
deletedDateTime
- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
public MicrosoftGraphUserInner withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphDirectoryObjectInner
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphDirectoryObjectInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-