public class User extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
| Modifier and Type | Class and Description |
|---|---|
static class |
User.Builder |
deletedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
User() |
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTimeprotected SignInActivity signInActivity
protected Boolean accountEnabled
protected String ageGroup
protected List<AssignedLicense> assignedLicenses
protected String assignedLicensesNextLink
protected List<AssignedPlan> assignedPlans
protected String assignedPlansNextLink
protected String businessPhonesNextLink
protected String city
protected String companyName
protected String consentProvidedForMinor
protected String country
protected OffsetDateTime createdDateTime
protected String creationType
protected String department
protected String deviceKeysNextLink
protected String displayName
protected String employeeId
protected String faxNumber
protected String givenName
protected List<ObjectIdentity> identities
protected String identitiesNextLink
protected String imAddressesNextLink
protected Boolean isResourceAccount
protected String jobTitle
protected OffsetDateTime lastPasswordChangeDateTime
protected String legalAgeGroupClassification
protected List<LicenseAssignmentState> licenseAssignmentStates
protected String licenseAssignmentStatesNextLink
protected String mail
protected String mailNickname
protected String mobilePhone
protected String onPremisesDistinguishedName
protected OnPremisesExtensionAttributes onPremisesExtensionAttributes
protected String onPremisesImmutableId
protected OffsetDateTime onPremisesLastSyncDateTime
protected List<OnPremisesProvisioningError> onPremisesProvisioningErrors
protected String onPremisesProvisioningErrorsNextLink
protected String onPremisesSecurityIdentifier
protected Boolean onPremisesSyncEnabled
protected String onPremisesDomainName
protected String onPremisesSamAccountName
protected String onPremisesUserPrincipalName
protected String otherMailsNextLink
protected String passwordPolicies
protected PasswordProfile passwordProfile
protected String officeLocation
protected String postalCode
protected String preferredDataLocation
protected String preferredLanguage
protected List<ProvisionedPlan> provisionedPlans
protected String provisionedPlansNextLink
protected String proxyAddressesNextLink
protected OffsetDateTime refreshTokensValidFromDateTime
protected Boolean showInAddressList
protected OffsetDateTime signInSessionsValidFromDateTime
protected String state
protected String streetAddress
protected String surname
protected String usageLocation
protected String userPrincipalName
protected String externalUserState
protected String externalUserStateChangeDateTime
protected String userType
protected MailboxSettings mailboxSettings
protected Integer deviceEnrollmentLimit
protected String aboutMe
protected OffsetDateTime birthday
protected OffsetDateTime hireDate
protected String interestsNextLink
protected String mySite
protected String pastProjectsNextLink
protected String preferredName
protected String responsibilitiesNextLink
protected String schoolsNextLink
protected String skillsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DirectoryObjectpublic static User.Builder builderUser()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DirectoryObjectpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DirectoryObjectpublic Optional<SignInActivity> getSignInActivity()
public User withSignInActivity(SignInActivity signInActivity)
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses()
public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans()
public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones()
public Optional<OffsetDateTime> getCreatedDateTime()
public User withCreatedDateTime(OffsetDateTime createdDateTime)
public com.github.davidmoten.odata.client.CollectionPage<DeviceKey> getDeviceKeys()
public com.github.davidmoten.odata.client.CollectionPage<ObjectIdentity> getIdentities()
public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses()
public Optional<OffsetDateTime> getLastPasswordChangeDateTime()
public User withLastPasswordChangeDateTime(OffsetDateTime lastPasswordChangeDateTime)
public User withLegalAgeGroupClassification(String legalAgeGroupClassification)
public com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState> getLicenseAssignmentStates()
public User withOnPremisesDistinguishedName(String onPremisesDistinguishedName)
public Optional<OnPremisesExtensionAttributes> getOnPremisesExtensionAttributes()
public User withOnPremisesExtensionAttributes(OnPremisesExtensionAttributes onPremisesExtensionAttributes)
public Optional<OffsetDateTime> getOnPremisesLastSyncDateTime()
public User withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
public User withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)
public User withOnPremisesSamAccountName(String onPremisesSamAccountName)
public User withOnPremisesUserPrincipalName(String onPremisesUserPrincipalName)
public com.github.davidmoten.odata.client.CollectionPage<String> getOtherMails()
public Optional<PasswordProfile> getPasswordProfile()
public User withPasswordProfile(PasswordProfile passwordProfile)
public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans()
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses()
public Optional<OffsetDateTime> getRefreshTokensValidFromDateTime()
public User withRefreshTokensValidFromDateTime(OffsetDateTime refreshTokensValidFromDateTime)
public Optional<OffsetDateTime> getSignInSessionsValidFromDateTime()
public User withSignInSessionsValidFromDateTime(OffsetDateTime signInSessionsValidFromDateTime)
public User withExternalUserStateChangeDateTime(String externalUserStateChangeDateTime)
public Optional<MailboxSettings> getMailboxSettings()
public User withMailboxSettings(MailboxSettings mailboxSettings)
public Optional<Integer> getDeviceEnrollmentLimit()
public User withDeviceEnrollmentLimit(Integer deviceEnrollmentLimit)
this with just the deviceEnrollmentLimit field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.”
deviceEnrollmentLimit - new value of deviceEnrollmentLimit field (as defined in service metadata)this with just the deviceEnrollmentLimit field changedpublic Optional<OffsetDateTime> getBirthday()
public User withBirthday(OffsetDateTime birthday)
public Optional<OffsetDateTime> getHireDate()
public User withHireDate(OffsetDateTime hireDate)
public com.github.davidmoten.odata.client.CollectionPage<String> getInterests()
public com.github.davidmoten.odata.client.CollectionPage<String> getPastProjects()
public com.github.davidmoten.odata.client.CollectionPage<String> getResponsibilities()
public com.github.davidmoten.odata.client.CollectionPage<String> getSchools()
public com.github.davidmoten.odata.client.CollectionPage<String> getSkills()
public UserAnalyticsRequest getAnalytics()
public InformationProtectionRequest getInformationProtection()
public AppRoleAssignmentCollectionRequest getAppRoleAssignments()
public DirectoryObjectCollectionRequest getCreatedObjects()
public DirectoryObjectCollectionRequest getDirectReports()
public LicenseDetailsCollectionRequest getLicenseDetails()
public DirectoryObjectRequest getManager()
public DirectoryObjectCollectionRequest getMemberOf()
public DirectoryObjectCollectionRequest getOwnedDevices()
public DirectoryObjectCollectionRequest getOwnedObjects()
public DirectoryObjectCollectionRequest getRegisteredDevices()
public ScopedRoleMembershipCollectionRequest getScopedRoleMemberOf()
public DirectoryObjectCollectionRequest getTransitiveMemberOf()
public OutlookUserRequest getOutlook()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public MessageCollectionRequest getMessages()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
public GroupCollectionRequest getJoinedGroups()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public MailFolderCollectionRequest getMailFolders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public CalendarRequest getCalendar()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public CalendarCollectionRequest getCalendars()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public CalendarGroupCollectionRequest getCalendarGroups()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public EventCollectionRequest getCalendarView()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public EventCollectionRequest getEvents()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public PersonCollectionRequest getPeople()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public ContactCollectionRequest getContacts()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
public ContactFolderCollectionRequest getContactFolders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
public InferenceClassificationRequest getInferenceClassification()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public ProfilePhotoRequest getPhoto()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public ProfilePhotoCollectionRequest getPhotos()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
public DriveRequest getDrive()
public DriveCollectionRequest getDrives()
public SiteCollectionRequest getFollowedSites()
public ExtensionCollectionRequest getExtensions()
public ApprovalCollectionRequest getApprovals()
public AppConsentRequestCollectionRequest getAppConsentRequestsForApproval()
public AgreementAcceptanceCollectionRequest getAgreementAcceptances()
public DeviceEnrollmentConfigurationCollectionRequest getDeviceEnrollmentConfigurations()
public ManagedDeviceCollectionRequest getManagedDevices()
public ManagedAppRegistrationCollectionRequest getManagedAppRegistrations()
public WindowsInformationProtectionDeviceRegistrationCollectionRequest getWindowsInformationProtectionDeviceRegistrations()
public DeviceManagementTroubleshootingEventCollectionRequest getDeviceManagementTroubleshootingEvents()
public MobileAppIntentAndStateCollectionRequest getMobileAppIntentAndStates()
public MobileAppTroubleshootingEventCollectionRequest getMobileAppTroubleshootingEvents()
public NotificationCollectionRequest getNotifications()
public PlannerUserRequest getPlanner()
public OfficeGraphInsightsRequest getInsights()
public UserSettingsRequest getSettings()
public OnenoteRequest getOnenote()
public ProfileRequest getProfile()
public UserActivityCollectionRequest getActivities()
public DeviceCollectionRequest getDevices()
public OnlineMeetingCollectionRequest getOnlineMeetings()
public PresenceRequest getPresence()
public AuthenticationRequest getAuthentication()
public ChatCollectionRequest getChats()
public TeamCollectionRequest getJoinedTeams()
public UserTeamworkRequest getTeamwork()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DirectoryObjectpublic User patch()
this with changed fields reset.patch in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic User put()
this
with changed fields reset (they were ignored anyway).put in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<User> assignLicense(List<AssignedLicense> addLicenses, List<String> removeLicenses)
public com.github.davidmoten.odata.client.ActionRequestNoReturn changePassword(String currentPassword, String newPassword)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean> invalidateAllRefreshTokens()
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean> revokeSignInSessions()
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<User> reprocessLicenseAssignment()
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<MeetingTimeSuggestionsResult> findMeetingTimes(List<AttendeeBase> attendees, LocationConstraint locationConstraint, TimeConstraint timeConstraint, Duration meetingDuration, Integer maxCandidates, Boolean isOrganizerOptional, Boolean returnSuggestionReasons, Double minimumAttendeePercentage)
public com.github.davidmoten.odata.client.ActionRequestNoReturn sendMail(Message message, Boolean saveToSentItems)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<MailTips> getMailTips(List<String> emailAddresses, MailTipsType mailTipsOptions)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ConvertIdResult> translateExchangeIds(List<String> inputIds, ExchangeIdFormat targetIdType, ExchangeIdFormat sourceIdType)
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeAllDevicesFromManagement()
public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeManagedAppRegistrationByDeviceTag(String deviceTag)
public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeManagedAppRegistrationsByDeviceTag(String deviceTag)
public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeAndBlockManagedApps()
public com.github.davidmoten.odata.client.ActionRequestNoReturn unblockManagedApps()
public com.github.davidmoten.odata.client.ActionRequestNoReturn exportPersonalData(String storageLocation)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<Reminder> reminderView(String startDateTime, String endDateTime)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRooms()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRoomLists()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRooms_Function(String roomList)
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<DeviceAndAppManagementData> exportDeviceAndAppManagementData()
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<DeviceAndAppManagementData> exportDeviceAndAppManagementData_Function(Integer skip, Integer top)
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DeviceEnrollmentConfiguration> getEffectiveDeviceEnrollmentConfigurations()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedDevice> getLoggedOnManagedDevices()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppDiagnosticStatus> getManagedAppDiagnosticStatuses()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppPolicy> getManagedAppPolicies()
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<Boolean> isManagedAppUserBlocked()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String> getManagedDevicesWithAppFailures()
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedDeviceSummarizedAppState> getManagedDevicesWithFailedOrPendingApps()
public String toString()
toString in class DirectoryObjectCopyright © 2018–2020. All rights reserved.