\Microsoft\Graph\ModelUser

User class

Summary

Methods
Properties
Constants
__construct()
getProperties()
getAccountEnabled()
setAccountEnabled()
getAssignedLicenses()
getAssignedPlans()
getBusinessPhones()
setBusinessPhones()
getCity()
setCity()
getCompanyName()
setCompanyName()
getCountry()
setCountry()
getDepartment()
setDepartment()
getDisplayName()
setDisplayName()
getGivenName()
setGivenName()
getJobTitle()
setJobTitle()
getMail()
setMail()
getMailNickname()
setMailNickname()
getMobilePhone()
setMobilePhone()
getOnPremisesImmutableId()
setOnPremisesImmutableId()
getOnPremisesLastSyncDateTime()
setOnPremisesLastSyncDateTime()
getOnPremisesSecurityIdentifier()
setOnPremisesSecurityIdentifier()
getOnPremisesSyncEnabled()
setOnPremisesSyncEnabled()
getPasswordPolicies()
setPasswordPolicies()
getPasswordProfile()
setPasswordProfile()
getOfficeLocation()
setOfficeLocation()
getPostalCode()
setPostalCode()
getPreferredLanguage()
setPreferredLanguage()
getProvisionedPlans()
getProxyAddresses()
setProxyAddresses()
getState()
setState()
getStreetAddress()
setStreetAddress()
getSurname()
setSurname()
getUsageLocation()
setUsageLocation()
getUserPrincipalName()
setUserPrincipalName()
getUserType()
setUserType()
getMailboxSettings()
setMailboxSettings()
getAboutMe()
setAboutMe()
getBirthday()
setBirthday()
getHireDate()
setHireDate()
getInterests()
setInterests()
getMySite()
setMySite()
getPastProjects()
setPastProjects()
getPreferredName()
setPreferredName()
getResponsibilities()
setResponsibilities()
getSchools()
setSchools()
getSkills()
setSkills()
getOwnedDevices()
getRegisteredDevices()
getManager()
setManager()
getDirectReports()
getMemberOf()
getCreatedObjects()
getOwnedObjects()
getMessages()
getMailFolders()
getCalendar()
setCalendar()
getCalendars()
getCalendarGroups()
getCalendarView()
getEvents()
getContacts()
getContactFolders()
getInferenceClassification()
setInferenceClassification()
getPhoto()
setPhoto()
getDrive()
setDrive()
getDrives()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_propDict
N/A

Properties

$_propDict

$_propDict : \Microsoft\Graph\Model\array(string

The array of properties available to the model

Type

\Microsoft\Graph\Model\array(string — => string)

Methods

__construct()

__construct(array  $propDict = array()) 

Construct a new User

Parameters

array $propDict

A list of properties to set

getProperties()

getProperties() : array

Gets the property dictionary of the User

Returns

array —

The list of properties

getAccountEnabled()

getAccountEnabled() : boolean

Gets the accountEnabled

Returns

boolean —

The accountEnabled

setAccountEnabled()

setAccountEnabled(boolean  $val) : null

Sets the accountEnabled

Parameters

boolean $val

The accountEnabled

Returns

null

getAssignedLicenses()

getAssignedLicenses() : \Microsoft\Graph\Model\AssignedLicensesCollectionPage

Gets the assignedLicenses

Returns

\Microsoft\Graph\Model\AssignedLicensesCollectionPage —

The assignedLicenses

getAssignedPlans()

getAssignedPlans() : \Microsoft\Graph\Model\AssignedPlansCollectionPage

Gets the assignedPlans

Returns

\Microsoft\Graph\Model\AssignedPlansCollectionPage —

The assignedPlans

getBusinessPhones()

getBusinessPhones() : string

Gets the businessPhones

Returns

string —

The businessPhones

setBusinessPhones()

setBusinessPhones(string  $val) : null

Sets the businessPhones

Parameters

string $val

The businessPhones

Returns

null

getCity()

getCity() : string

Gets the city

Returns

string —

The city

setCity()

setCity(string  $val) : null

Sets the city

Parameters

string $val

The city

Returns

null

getCompanyName()

getCompanyName() : string

Gets the companyName

Returns

string —

The companyName

setCompanyName()

setCompanyName(string  $val) : null

Sets the companyName

Parameters

string $val

The companyName

Returns

null

getCountry()

getCountry() : string

Gets the country

Returns

string —

The country

setCountry()

setCountry(string  $val) : null

Sets the country

Parameters

string $val

The country

Returns

null

getDepartment()

getDepartment() : string

Gets the department

Returns

string —

The department

setDepartment()

setDepartment(string  $val) : null

Sets the department

Parameters

string $val

The department

Returns

null

getDisplayName()

getDisplayName() : string

Gets the displayName

Returns

string —

The displayName

setDisplayName()

setDisplayName(string  $val) : null

Sets the displayName

Parameters

string $val

The displayName

Returns

null

getGivenName()

getGivenName() : string

Gets the givenName

Returns

string —

The givenName

setGivenName()

setGivenName(string  $val) : null

Sets the givenName

Parameters

string $val

The givenName

Returns

null

getJobTitle()

getJobTitle() : string

Gets the jobTitle

Returns

string —

The jobTitle

setJobTitle()

setJobTitle(string  $val) : null

Sets the jobTitle

Parameters

string $val

The jobTitle

Returns

null

getMail()

getMail() : string

Gets the mail

Returns

string —

The mail

setMail()

setMail(string  $val) : null

Sets the mail

Parameters

string $val

The mail

Returns

null

getMailNickname()

getMailNickname() : string

Gets the mailNickname

Returns

string —

The mailNickname

setMailNickname()

setMailNickname(string  $val) : null

Sets the mailNickname

Parameters

string $val

The mailNickname

Returns

null

getMobilePhone()

getMobilePhone() : string

Gets the mobilePhone

Returns

string —

The mobilePhone

setMobilePhone()

setMobilePhone(string  $val) : null

Sets the mobilePhone

Parameters

string $val

The mobilePhone

Returns

null

getOnPremisesImmutableId()

getOnPremisesImmutableId() : string

Gets the onPremisesImmutableId

Returns

string —

The onPremisesImmutableId

setOnPremisesImmutableId()

setOnPremisesImmutableId(string  $val) : null

Sets the onPremisesImmutableId

Parameters

string $val

The onPremisesImmutableId

Returns

null

getOnPremisesLastSyncDateTime()

getOnPremisesLastSyncDateTime() : \Microsoft\Graph\Model\datetime

Gets the onPremisesLastSyncDateTime

Returns

\Microsoft\Graph\Model\datetime —

The onPremisesLastSyncDateTime

setOnPremisesLastSyncDateTime()

setOnPremisesLastSyncDateTime(\Microsoft\Graph\Model\datetime  $val) : null

Sets the onPremisesLastSyncDateTime

Parameters

\Microsoft\Graph\Model\datetime $val

The onPremisesLastSyncDateTime

Returns

null

getOnPremisesSecurityIdentifier()

getOnPremisesSecurityIdentifier() : string

Gets the onPremisesSecurityIdentifier

Returns

string —

The onPremisesSecurityIdentifier

setOnPremisesSecurityIdentifier()

setOnPremisesSecurityIdentifier(string  $val) : null

Sets the onPremisesSecurityIdentifier

Parameters

string $val

The onPremisesSecurityIdentifier

Returns

null

getOnPremisesSyncEnabled()

getOnPremisesSyncEnabled() : boolean

Gets the onPremisesSyncEnabled

Returns

boolean —

The onPremisesSyncEnabled

setOnPremisesSyncEnabled()

setOnPremisesSyncEnabled(boolean  $val) : null

Sets the onPremisesSyncEnabled

Parameters

boolean $val

The onPremisesSyncEnabled

Returns

null

getPasswordPolicies()

getPasswordPolicies() : string

Gets the passwordPolicies

Returns

string —

The passwordPolicies

setPasswordPolicies()

setPasswordPolicies(string  $val) : null

Sets the passwordPolicies

Parameters

string $val

The passwordPolicies

Returns

null

setPasswordProfile()

setPasswordProfile(string  $val) : null

Sets the passwordProfile

Parameters

string $val

The passwordProfile

Returns

null

getOfficeLocation()

getOfficeLocation() : string

Gets the officeLocation

Returns

string —

The officeLocation

setOfficeLocation()

setOfficeLocation(string  $val) : null

Sets the officeLocation

Parameters

string $val

The officeLocation

Returns

null

getPostalCode()

getPostalCode() : string

Gets the postalCode

Returns

string —

The postalCode

setPostalCode()

setPostalCode(string  $val) : null

Sets the postalCode

Parameters

string $val

The postalCode

Returns

null

getPreferredLanguage()

getPreferredLanguage() : string

Gets the preferredLanguage

Returns

string —

The preferredLanguage

setPreferredLanguage()

setPreferredLanguage(string  $val) : null

Sets the preferredLanguage

Parameters

string $val

The preferredLanguage

Returns

null

getProvisionedPlans()

getProvisionedPlans() : \Microsoft\Graph\Model\ProvisionedPlansCollectionPage

Gets the provisionedPlans

Returns

\Microsoft\Graph\Model\ProvisionedPlansCollectionPage —

The provisionedPlans

getProxyAddresses()

getProxyAddresses() : string

Gets the proxyAddresses

Returns

string —

The proxyAddresses

setProxyAddresses()

setProxyAddresses(string  $val) : null

Sets the proxyAddresses

Parameters

string $val

The proxyAddresses

Returns

null

getState()

getState() : string

Gets the state

Returns

string —

The state

setState()

setState(string  $val) : null

Sets the state

Parameters

string $val

The state

Returns

null

getStreetAddress()

getStreetAddress() : string

Gets the streetAddress

Returns

string —

The streetAddress

setStreetAddress()

setStreetAddress(string  $val) : null

Sets the streetAddress

Parameters

string $val

The streetAddress

Returns

null

getSurname()

getSurname() : string

Gets the surname

Returns

string —

The surname

setSurname()

setSurname(string  $val) : null

Sets the surname

Parameters

string $val

The surname

Returns

null

getUsageLocation()

getUsageLocation() : string

Gets the usageLocation

Returns

string —

The usageLocation

setUsageLocation()

setUsageLocation(string  $val) : null

Sets the usageLocation

Parameters

string $val

The usageLocation

Returns

null

getUserPrincipalName()

getUserPrincipalName() : string

Gets the userPrincipalName

Returns

string —

The userPrincipalName

setUserPrincipalName()

setUserPrincipalName(string  $val) : null

Sets the userPrincipalName

Parameters

string $val

The userPrincipalName

Returns

null

getUserType()

getUserType() : string

Gets the userType

Returns

string —

The userType

setUserType()

setUserType(string  $val) : null

Sets the userType

Parameters

string $val

The userType

Returns

null

setMailboxSettings()

setMailboxSettings(string  $val) : null

Sets the mailboxSettings

Parameters

string $val

The mailboxSettings

Returns

null

getAboutMe()

getAboutMe() : string

Gets the aboutMe

Returns

string —

The aboutMe

setAboutMe()

setAboutMe(string  $val) : null

Sets the aboutMe

Parameters

string $val

The aboutMe

Returns

null

getBirthday()

getBirthday() : \Microsoft\Graph\Model\datetime

Gets the birthday

Returns

\Microsoft\Graph\Model\datetime —

The birthday

setBirthday()

setBirthday(\Microsoft\Graph\Model\datetime  $val) : null

Sets the birthday

Parameters

\Microsoft\Graph\Model\datetime $val

The birthday

Returns

null

getHireDate()

getHireDate() : \Microsoft\Graph\Model\datetime

Gets the hireDate

Returns

\Microsoft\Graph\Model\datetime —

The hireDate

setHireDate()

setHireDate(\Microsoft\Graph\Model\datetime  $val) : null

Sets the hireDate

Parameters

\Microsoft\Graph\Model\datetime $val

The hireDate

Returns

null

getInterests()

getInterests() : string

Gets the interests

Returns

string —

The interests

setInterests()

setInterests(string  $val) : null

Sets the interests

Parameters

string $val

The interests

Returns

null

getMySite()

getMySite() : string

Gets the mySite

Returns

string —

The mySite

setMySite()

setMySite(string  $val) : null

Sets the mySite

Parameters

string $val

The mySite

Returns

null

getPastProjects()

getPastProjects() : string

Gets the pastProjects

Returns

string —

The pastProjects

setPastProjects()

setPastProjects(string  $val) : null

Sets the pastProjects

Parameters

string $val

The pastProjects

Returns

null

getPreferredName()

getPreferredName() : string

Gets the preferredName

Returns

string —

The preferredName

setPreferredName()

setPreferredName(string  $val) : null

Sets the preferredName

Parameters

string $val

The preferredName

Returns

null

getResponsibilities()

getResponsibilities() : string

Gets the responsibilities

Returns

string —

The responsibilities

setResponsibilities()

setResponsibilities(string  $val) : null

Sets the responsibilities

Parameters

string $val

The responsibilities

Returns

null

getSchools()

getSchools() : string

Gets the schools

Returns

string —

The schools

setSchools()

setSchools(string  $val) : null

Sets the schools

Parameters

string $val

The schools

Returns

null

getSkills()

getSkills() : string

Gets the skills

Returns

string —

The skills

setSkills()

setSkills(string  $val) : null

Sets the skills

Parameters

string $val

The skills

Returns

null

getOwnedDevices()

getOwnedDevices() : \Microsoft\Graph\Model\OwnedDevicesCollectionPage

Gets the ownedDevices

Returns

\Microsoft\Graph\Model\OwnedDevicesCollectionPage —

The ownedDevices

getRegisteredDevices()

getRegisteredDevices() : \Microsoft\Graph\Model\RegisteredDevicesCollectionPage

Gets the registeredDevices

Returns

\Microsoft\Graph\Model\RegisteredDevicesCollectionPage —

The registeredDevices

setManager()

setManager(string  $val) : null

Sets the manager

Parameters

string $val

The manager

Returns

null

getDirectReports()

getDirectReports() : \Microsoft\Graph\Model\DirectReportsCollectionPage

Gets the directReports

Returns

\Microsoft\Graph\Model\DirectReportsCollectionPage —

The directReports

getMemberOf()

getMemberOf() : \Microsoft\Graph\Model\MemberOfCollectionPage

Gets the memberOf

Returns

\Microsoft\Graph\Model\MemberOfCollectionPage —

The memberOf

getCreatedObjects()

getCreatedObjects() : \Microsoft\Graph\Model\CreatedObjectsCollectionPage

Gets the createdObjects

Returns

\Microsoft\Graph\Model\CreatedObjectsCollectionPage —

The createdObjects

getOwnedObjects()

getOwnedObjects() : \Microsoft\Graph\Model\OwnedObjectsCollectionPage

Gets the ownedObjects

Returns

\Microsoft\Graph\Model\OwnedObjectsCollectionPage —

The ownedObjects

getMessages()

getMessages() : \Microsoft\Graph\Model\MessagesCollectionPage

Gets the messages

Returns

\Microsoft\Graph\Model\MessagesCollectionPage —

The messages

getMailFolders()

getMailFolders() : \Microsoft\Graph\Model\MailFoldersCollectionPage

Gets the mailFolders

Returns

\Microsoft\Graph\Model\MailFoldersCollectionPage —

The mailFolders

setCalendar()

setCalendar(string  $val) : null

Sets the calendar

Parameters

string $val

The calendar

Returns

null

getCalendars()

getCalendars() : \Microsoft\Graph\Model\CalendarsCollectionPage

Gets the calendars

Returns

\Microsoft\Graph\Model\CalendarsCollectionPage —

The calendars

getCalendarGroups()

getCalendarGroups() : \Microsoft\Graph\Model\CalendarGroupsCollectionPage

Gets the calendarGroups

Returns

\Microsoft\Graph\Model\CalendarGroupsCollectionPage —

The calendarGroups

getCalendarView()

getCalendarView() : \Microsoft\Graph\Model\CalendarViewCollectionPage

Gets the calendarView

Returns

\Microsoft\Graph\Model\CalendarViewCollectionPage —

The calendarView

getEvents()

getEvents() : \Microsoft\Graph\Model\EventsCollectionPage

Gets the events

Returns

\Microsoft\Graph\Model\EventsCollectionPage —

The events

getContacts()

getContacts() : \Microsoft\Graph\Model\ContactsCollectionPage

Gets the contacts

Returns

\Microsoft\Graph\Model\ContactsCollectionPage —

The contacts

getContactFolders()

getContactFolders() : \Microsoft\Graph\Model\ContactFoldersCollectionPage

Gets the contactFolders

Returns

\Microsoft\Graph\Model\ContactFoldersCollectionPage —

The contactFolders

setInferenceClassification()

setInferenceClassification(string  $val) : null

Sets the inferenceClassification

Parameters

string $val

The inferenceClassification

Returns

null

setPhoto()

setPhoto(string  $val) : null

Sets the photo

Parameters

string $val

The photo

Returns

null

setDrive()

setDrive(string  $val) : null

Sets the drive

Parameters

string $val

The drive

Returns

null

getDrives()

getDrives() : \Microsoft\Graph\Model\DrivesCollectionPage

Gets the drives

Returns

\Microsoft\Graph\Model\DrivesCollectionPage —

The drives