Class User
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DirectoryObject
-
- odata.msgraph.client.beta.entity.User
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class User extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUser.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.DirectoryObject
deletedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUser()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.DirectoryObject
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTime
-
-
-
-
Field Detail
-
signInActivity
protected SignInActivity signInActivity
-
accountEnabled
protected Boolean accountEnabled
-
ageGroup
protected String ageGroup
-
assignedLicenses
protected List<AssignedLicense> assignedLicenses
-
assignedLicensesNextLink
protected String assignedLicensesNextLink
-
assignedPlans
protected List<AssignedPlan> assignedPlans
-
assignedPlansNextLink
protected String assignedPlansNextLink
-
businessPhonesNextLink
protected String businessPhonesNextLink
-
city
protected String city
-
companyName
protected String companyName
-
consentProvidedForMinor
protected String consentProvidedForMinor
-
country
protected String country
-
createdDateTime
protected OffsetDateTime createdDateTime
-
creationType
protected String creationType
-
customSecurityAttributes
protected CustomSecurityAttributeValue customSecurityAttributes
-
department
protected String department
-
deviceKeysNextLink
protected String deviceKeysNextLink
-
displayName
protected String displayName
-
employeeHireDate
protected OffsetDateTime employeeHireDate
-
employeeId
protected String employeeId
-
employeeOrgData
protected EmployeeOrgData employeeOrgData
-
employeeType
protected String employeeType
-
externalUserState
protected String externalUserState
-
externalUserStateChangeDateTime
protected String externalUserStateChangeDateTime
-
faxNumber
protected String faxNumber
-
givenName
protected String givenName
-
identities
protected List<ObjectIdentity> identities
-
identitiesNextLink
protected String identitiesNextLink
-
imAddressesNextLink
protected String imAddressesNextLink
-
infoCatalogsNextLink
protected String infoCatalogsNextLink
-
isResourceAccount
protected Boolean isResourceAccount
-
jobTitle
protected String jobTitle
-
lastPasswordChangeDateTime
protected OffsetDateTime lastPasswordChangeDateTime
-
legalAgeGroupClassification
protected String legalAgeGroupClassification
-
licenseAssignmentStates
protected List<LicenseAssignmentState> licenseAssignmentStates
-
licenseAssignmentStatesNextLink
protected String licenseAssignmentStatesNextLink
-
mail
protected String mail
-
mailNickname
protected String mailNickname
-
mobilePhone
protected String mobilePhone
-
officeLocation
protected String officeLocation
-
onPremisesDistinguishedName
protected String onPremisesDistinguishedName
-
onPremisesDomainName
protected String onPremisesDomainName
-
onPremisesExtensionAttributes
protected OnPremisesExtensionAttributes onPremisesExtensionAttributes
-
onPremisesImmutableId
protected String onPremisesImmutableId
-
onPremisesLastSyncDateTime
protected OffsetDateTime onPremisesLastSyncDateTime
-
onPremisesProvisioningErrors
protected List<OnPremisesProvisioningError> onPremisesProvisioningErrors
-
onPremisesProvisioningErrorsNextLink
protected String onPremisesProvisioningErrorsNextLink
-
onPremisesSamAccountName
protected String onPremisesSamAccountName
-
onPremisesSecurityIdentifier
protected String onPremisesSecurityIdentifier
-
onPremisesSyncEnabled
protected Boolean onPremisesSyncEnabled
-
onPremisesUserPrincipalName
protected String onPremisesUserPrincipalName
-
otherMailsNextLink
protected String otherMailsNextLink
-
passwordPolicies
protected String passwordPolicies
-
passwordProfile
protected PasswordProfile passwordProfile
-
postalCode
protected String postalCode
-
preferredDataLocation
protected String preferredDataLocation
-
preferredLanguage
protected String preferredLanguage
-
provisionedPlans
protected List<ProvisionedPlan> provisionedPlans
-
provisionedPlansNextLink
protected String provisionedPlansNextLink
-
proxyAddressesNextLink
protected String proxyAddressesNextLink
-
refreshTokensValidFromDateTime
protected OffsetDateTime refreshTokensValidFromDateTime
-
showInAddressList
protected Boolean showInAddressList
-
signInSessionsValidFromDateTime
protected OffsetDateTime signInSessionsValidFromDateTime
-
state
protected String state
-
streetAddress
protected String streetAddress
-
surname
protected String surname
-
usageLocation
protected String usageLocation
-
userPrincipalName
protected String userPrincipalName
-
userType
protected String userType
-
mailboxSettings
protected MailboxSettings mailboxSettings
-
deviceEnrollmentLimit
protected Integer deviceEnrollmentLimit
-
aboutMe
protected String aboutMe
-
birthday
protected OffsetDateTime birthday
-
hireDate
protected OffsetDateTime hireDate
-
interestsNextLink
protected String interestsNextLink
-
mySite
protected String mySite
-
pastProjectsNextLink
protected String pastProjectsNextLink
-
preferredName
protected String preferredName
-
responsibilitiesNextLink
protected String responsibilitiesNextLink
-
schoolsNextLink
protected String schoolsNextLink
-
skillsNextLink
protected String skillsNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDirectoryObject
-
builderUser
public static User.Builder builderUser()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classDirectoryObject
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDirectoryObject
-
getSignInActivity
public Optional<SignInActivity> getSignInActivity()
-
withSignInActivity
public User withSignInActivity(SignInActivity signInActivity)
-
getAssignedLicenses
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses()
-
withAssignedLicenses
public User withAssignedLicenses(List<AssignedLicense> assignedLicenses)
-
getAssignedLicenses
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getAssignedPlans
public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans()
-
withAssignedPlans
public User withAssignedPlans(List<AssignedPlan> assignedPlans)
-
getAssignedPlans
public com.github.davidmoten.odata.client.CollectionPage<AssignedPlan> getAssignedPlans(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getBusinessPhones
public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones()
-
getBusinessPhones
public com.github.davidmoten.odata.client.CollectionPage<String> getBusinessPhones(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withConsentProvidedForMinor
public User withConsentProvidedForMinor(String consentProvidedForMinor)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public User withCreatedDateTime(OffsetDateTime createdDateTime)
-
getCustomSecurityAttributes
public Optional<CustomSecurityAttributeValue> getCustomSecurityAttributes()
-
withCustomSecurityAttributes
public User withCustomSecurityAttributes(CustomSecurityAttributeValue customSecurityAttributes)
-
getDeviceKeys
public com.github.davidmoten.odata.client.CollectionPage<DeviceKey> getDeviceKeys()
-
getDeviceKeys
public com.github.davidmoten.odata.client.CollectionPage<DeviceKey> getDeviceKeys(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getEmployeeHireDate
public Optional<OffsetDateTime> getEmployeeHireDate()
-
withEmployeeHireDate
public User withEmployeeHireDate(OffsetDateTime employeeHireDate)
-
getEmployeeOrgData
public Optional<EmployeeOrgData> getEmployeeOrgData()
-
withEmployeeOrgData
public User withEmployeeOrgData(EmployeeOrgData employeeOrgData)
-
withExternalUserStateChangeDateTime
public User withExternalUserStateChangeDateTime(String externalUserStateChangeDateTime)
-
getIdentities
public com.github.davidmoten.odata.client.CollectionPage<ObjectIdentity> getIdentities()
-
withIdentities
public User withIdentities(List<ObjectIdentity> identities)
-
getIdentities
public com.github.davidmoten.odata.client.CollectionPage<ObjectIdentity> getIdentities(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getImAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses()
-
getImAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getImAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getInfoCatalogs
public com.github.davidmoten.odata.client.CollectionPage<String> getInfoCatalogs()
-
getInfoCatalogs
public com.github.davidmoten.odata.client.CollectionPage<String> getInfoCatalogs(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getLastPasswordChangeDateTime
public Optional<OffsetDateTime> getLastPasswordChangeDateTime()
-
withLastPasswordChangeDateTime
public User withLastPasswordChangeDateTime(OffsetDateTime lastPasswordChangeDateTime)
-
withLegalAgeGroupClassification
public User withLegalAgeGroupClassification(String legalAgeGroupClassification)
-
getLicenseAssignmentStates
public com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState> getLicenseAssignmentStates()
-
withLicenseAssignmentStates
public User withLicenseAssignmentStates(List<LicenseAssignmentState> licenseAssignmentStates)
-
getLicenseAssignmentStates
public com.github.davidmoten.odata.client.CollectionPage<LicenseAssignmentState> getLicenseAssignmentStates(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withOnPremisesDistinguishedName
public User withOnPremisesDistinguishedName(String onPremisesDistinguishedName)
-
getOnPremisesExtensionAttributes
public Optional<OnPremisesExtensionAttributes> getOnPremisesExtensionAttributes()
-
withOnPremisesExtensionAttributes
public User withOnPremisesExtensionAttributes(OnPremisesExtensionAttributes onPremisesExtensionAttributes)
-
getOnPremisesLastSyncDateTime
public Optional<OffsetDateTime> getOnPremisesLastSyncDateTime()
-
withOnPremisesLastSyncDateTime
public User withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
-
getOnPremisesProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
-
withOnPremisesProvisioningErrors
public User withOnPremisesProvisioningErrors(List<OnPremisesProvisioningError> onPremisesProvisioningErrors)
-
getOnPremisesProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withOnPremisesSamAccountName
public User withOnPremisesSamAccountName(String onPremisesSamAccountName)
-
withOnPremisesSecurityIdentifier
public User withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)
-
withOnPremisesUserPrincipalName
public User withOnPremisesUserPrincipalName(String onPremisesUserPrincipalName)
-
getOtherMails
public com.github.davidmoten.odata.client.CollectionPage<String> getOtherMails()
-
getOtherMails
public com.github.davidmoten.odata.client.CollectionPage<String> getOtherMails(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPasswordProfile
public Optional<PasswordProfile> getPasswordProfile()
-
withPasswordProfile
public User withPasswordProfile(PasswordProfile passwordProfile)
-
getProvisionedPlans
public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans()
-
withProvisionedPlans
public User withProvisionedPlans(List<ProvisionedPlan> provisionedPlans)
-
getProvisionedPlans
public com.github.davidmoten.odata.client.CollectionPage<ProvisionedPlan> getProvisionedPlans(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getProxyAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses()
-
getProxyAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getRefreshTokensValidFromDateTime
public Optional<OffsetDateTime> getRefreshTokensValidFromDateTime()
-
withRefreshTokensValidFromDateTime
public User withRefreshTokensValidFromDateTime(OffsetDateTime refreshTokensValidFromDateTime)
-
getSignInSessionsValidFromDateTime
public Optional<OffsetDateTime> getSignInSessionsValidFromDateTime()
-
withSignInSessionsValidFromDateTime
public User withSignInSessionsValidFromDateTime(OffsetDateTime signInSessionsValidFromDateTime)
-
getMailboxSettings
public Optional<MailboxSettings> getMailboxSettings()
-
withMailboxSettings
public User withMailboxSettings(MailboxSettings mailboxSettings)
-
getDeviceEnrollmentLimit
public Optional<Integer> getDeviceEnrollmentLimit()
“The limit on the maximum number of devices that the user is permitted to enroll. Allowed values are 5 or 1000.”- Returns:
- property deviceEnrollmentLimit
-
withDeviceEnrollmentLimit
public User withDeviceEnrollmentLimit(Integer deviceEnrollmentLimit)
Returns an immutable copy ofthiswith just thedeviceEnrollmentLimitfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.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.”
- Parameters:
deviceEnrollmentLimit- new value ofdeviceEnrollmentLimitfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thedeviceEnrollmentLimitfield changed
-
getBirthday
public Optional<OffsetDateTime> getBirthday()
-
withBirthday
public User withBirthday(OffsetDateTime birthday)
-
getHireDate
public Optional<OffsetDateTime> getHireDate()
-
withHireDate
public User withHireDate(OffsetDateTime hireDate)
-
getInterests
public com.github.davidmoten.odata.client.CollectionPage<String> getInterests()
-
getInterests
public com.github.davidmoten.odata.client.CollectionPage<String> getInterests(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPastProjects
public com.github.davidmoten.odata.client.CollectionPage<String> getPastProjects()
-
getPastProjects
public com.github.davidmoten.odata.client.CollectionPage<String> getPastProjects(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getResponsibilities
public com.github.davidmoten.odata.client.CollectionPage<String> getResponsibilities()
-
getResponsibilities
public com.github.davidmoten.odata.client.CollectionPage<String> getResponsibilities(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getSchools
public com.github.davidmoten.odata.client.CollectionPage<String> getSchools()
-
getSchools
public com.github.davidmoten.odata.client.CollectionPage<String> getSchools(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getSkills
public com.github.davidmoten.odata.client.CollectionPage<String> getSkills()
-
getSkills
public com.github.davidmoten.odata.client.CollectionPage<String> getSkills(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public User withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDirectoryObject
-
getAnalytics
public UserAnalyticsRequest getAnalytics()
-
getUsageRights
public UsageRightCollectionRequest getUsageRights()
-
getInformationProtection
public InformationProtectionRequest getInformationProtection()
-
getAppRoleAssignments
public AppRoleAssignmentCollectionRequest getAppRoleAssignments()
-
getCreatedObjects
public DirectoryObjectCollectionRequest getCreatedObjects()
-
getDirectReports
public DirectoryObjectCollectionRequest getDirectReports()
-
getLicenseDetails
public LicenseDetailsCollectionRequest getLicenseDetails()
-
getManager
public DirectoryObjectRequest getManager()
-
getMemberOf
public DirectoryObjectCollectionRequest getMemberOf()
-
getOauth2PermissionGrants
public OAuth2PermissionGrantCollectionRequest getOauth2PermissionGrants()
-
getOwnedDevices
public DirectoryObjectCollectionRequest getOwnedDevices()
-
getOwnedObjects
public DirectoryObjectCollectionRequest getOwnedObjects()
-
getRegisteredDevices
public DirectoryObjectCollectionRequest getRegisteredDevices()
-
getScopedRoleMemberOf
public ScopedRoleMembershipCollectionRequest getScopedRoleMemberOf()
-
getTransitiveMemberOf
public DirectoryObjectCollectionRequest getTransitiveMemberOf()
-
getTransitiveReports
public DirectoryObjectCollectionRequest getTransitiveReports()
-
getCalendar
public CalendarRequest getCalendar()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property calendar
-
getCalendarGroups
public CalendarGroupCollectionRequest getCalendarGroups()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property calendarGroups
-
getCalendars
public CalendarCollectionRequest getCalendars()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property calendars
-
getCalendarView
public EventCollectionRequest getCalendarView()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property calendarView
-
getContactFolders
public ContactFolderCollectionRequest getContactFolders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property contactFolders
-
getContacts
public ContactCollectionRequest getContacts()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
- Returns:
- navigational property contacts
-
getEvents
public EventCollectionRequest getEvents()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property events
-
getInferenceClassification
public InferenceClassificationRequest getInferenceClassification()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property inferenceClassification
-
getJoinedGroups
public GroupCollectionRequest getJoinedGroups()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property joinedGroups
-
getMailFolders
public MailFolderCollectionRequest getMailFolders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property mailFolders
-
getMessages
public MessageCollectionRequest getMessages()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
- Returns:
- navigational property messages
-
getOutlook
public OutlookUserRequest getOutlook()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property outlook
-
getPeople
public PersonCollectionRequest getPeople()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property people
-
getDrive
public DriveRequest getDrive()
-
getDrives
public DriveCollectionRequest getDrives()
-
getFollowedSites
public SiteCollectionRequest getFollowedSites()
-
getExtensions
public ExtensionCollectionRequest getExtensions()
-
getAppConsentRequestsForApproval
public AppConsentRequestCollectionRequest getAppConsentRequestsForApproval()
-
getApprovals
public ApprovalCollectionRequest getApprovals()
-
getPendingAccessReviewInstances
public AccessReviewInstanceCollectionRequest getPendingAccessReviewInstances()
-
getAgreementAcceptances
public AgreementAcceptanceCollectionRequest getAgreementAcceptances()
-
getSecurity
public SecurityEntityRequest getSecurity()
-
getDeviceEnrollmentConfigurations
public DeviceEnrollmentConfigurationCollectionRequest getDeviceEnrollmentConfigurations()
“Get enrollment configurations targeted to the user”- Returns:
- navigational property deviceEnrollmentConfigurations
-
getManagedDevices
public ManagedDeviceCollectionRequest getManagedDevices()
“The managed devices associated with the user.”- Returns:
- navigational property managedDevices
-
getManagedAppRegistrations
public ManagedAppRegistrationCollectionRequest getManagedAppRegistrations()
“Zero or more managed app registrations that belong to the user.”- Returns:
- navigational property managedAppRegistrations
-
getWindowsInformationProtectionDeviceRegistrations
public WindowsInformationProtectionDeviceRegistrationCollectionRequest getWindowsInformationProtectionDeviceRegistrations()
“Zero or more WIP device registrations that belong to the user.”- Returns:
- navigational property windowsInformationProtectionDeviceRegistrations
-
getDeviceManagementTroubleshootingEvents
public DeviceManagementTroubleshootingEventCollectionRequest getDeviceManagementTroubleshootingEvents()
“The list of troubleshooting events for this user.”- Returns:
- navigational property deviceManagementTroubleshootingEvents
-
getMobileAppIntentAndStates
public MobileAppIntentAndStateCollectionRequest getMobileAppIntentAndStates()
“The list of troubleshooting events for this user.”- Returns:
- navigational property mobileAppIntentAndStates
-
getMobileAppTroubleshootingEvents
public MobileAppTroubleshootingEventCollectionRequest getMobileAppTroubleshootingEvents()
“The list of mobile app troubleshooting events for this user.”- Returns:
- navigational property mobileAppTroubleshootingEvents
-
getNotifications
public NotificationCollectionRequest getNotifications()
-
getPlanner
public PlannerUserRequest getPlanner()
-
getInsights
public ItemInsightsRequest getInsights()
-
getSettings
public UserSettingsRequest getSettings()
-
getOnenote
public OnenoteRequest getOnenote()
-
getPhoto
public ProfilePhotoRequest getPhoto()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property photo
-
getPhotos
public ProfilePhotoCollectionRequest getPhotos()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property photos
-
getProfile
public ProfileRequest getProfile()
-
getActivities
public UserActivityCollectionRequest getActivities()
-
getDevices
public DeviceCollectionRequest getDevices()
-
getOnlineMeetings
public OnlineMeetingCollectionRequest getOnlineMeetings()
-
getPresence
public PresenceRequest getPresence()
-
getAuthentication
public AuthenticationRequest getAuthentication()
-
getTasks
public TasksRequest getTasks()
-
getChats
public ChatCollectionRequest getChats()
-
getJoinedTeams
public TeamCollectionRequest getJoinedTeams()
-
getTeamwork
public UserTeamworkRequest getTeamwork()
-
getTodo
public TodoRequest getTodo()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDirectoryObject
-
patch
public User patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public User put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
activateServicePlan
public com.github.davidmoten.odata.client.ActionRequestNoReturn activateServicePlan(UUID servicePlanId, UUID skuId)
-
assignLicense
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<User> assignLicense(List<AssignedLicense> addLicenses, List<UUID> removeLicenses)
-
changePassword
public com.github.davidmoten.odata.client.ActionRequestNoReturn changePassword(String currentPassword, String newPassword)
-
invalidateAllRefreshTokens
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean> invalidateAllRefreshTokens()
-
reprocessLicenseAssignment
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<User> reprocessLicenseAssignment()
-
revokeSignInSessions
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<Boolean> revokeSignInSessions()
-
findMeetingTimes
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<MeetingTimeSuggestionsResult> findMeetingTimes(List<AttendeeBase> attendees, LocationConstraint locationConstraint, TimeConstraint timeConstraint, Duration meetingDuration, Integer maxCandidates, Boolean isOrganizerOptional, Boolean returnSuggestionReasons, Double minimumAttendeePercentage)
-
getMailTips
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<MailTips> getMailTips(List<String> emailAddresses, MailTipsType mailTipsOptions)
-
sendMail
public com.github.davidmoten.odata.client.ActionRequestNoReturn sendMail(Message message, Boolean saveToSentItems)
-
translateExchangeIds
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ConvertIdResult> translateExchangeIds(List<String> inputIds, ExchangeIdFormat targetIdType, ExchangeIdFormat sourceIdType)
-
removeAllDevicesFromManagement
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeAllDevicesFromManagement()
-
unblockManagedApps
public com.github.davidmoten.odata.client.ActionRequestNoReturn unblockManagedApps()
-
wipeAndBlockManagedApps
public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeAndBlockManagedApps()
-
wipeManagedAppRegistrationByDeviceTag
public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeManagedAppRegistrationByDeviceTag(String deviceTag)
-
wipeManagedAppRegistrationsByDeviceTag
public com.github.davidmoten.odata.client.ActionRequestNoReturn wipeManagedAppRegistrationsByDeviceTag(String deviceTag)
-
exportPersonalData
public com.github.davidmoten.odata.client.ActionRequestNoReturn exportPersonalData(String storageLocation)
-
findRoomLists
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRoomLists()
-
findRooms
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRooms()
-
findRooms_Function
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<EmailAddress> findRooms_Function(String roomList)
-
reminderView
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<Reminder> reminderView(String startDateTime, String endDateTime)
-
exportDeviceAndAppManagementData
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<DeviceAndAppManagementData> exportDeviceAndAppManagementData()
-
exportDeviceAndAppManagementData_Function
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<DeviceAndAppManagementData> exportDeviceAndAppManagementData_Function(Integer skip, Integer top)
-
getEffectiveDeviceEnrollmentConfigurations
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<DeviceEnrollmentConfiguration> getEffectiveDeviceEnrollmentConfigurations()
-
getLoggedOnManagedDevices
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedDevice> getLoggedOnManagedDevices()
-
getManagedAppDiagnosticStatuses
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppDiagnosticStatus> getManagedAppDiagnosticStatuses()
-
getManagedAppPolicies
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedAppPolicy> getManagedAppPolicies()
-
isManagedAppUserBlocked
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollection<Boolean> isManagedAppUserBlocked()
-
getManagedDevicesWithAppFailures
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String> getManagedDevicesWithAppFailures()
-
getManagedDevicesWithFailedOrPendingApps
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ManagedDeviceSummarizedAppState> getManagedDevicesWithFailedOrPendingApps()
-
toString
public String toString()
- Overrides:
toStringin classDirectoryObject
-
-