code
stringlengths
15
9.96M
docstring
stringlengths
1
10.1k
func_name
stringlengths
1
124
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
6
186
url
stringlengths
50
236
license
stringclasses
4 values
public function getProgress() { if (!$this->isPropertyAvailable("Progress")) { return null; } return $this->getProperty("Progress"); }
Specifies the progress of an operation. @return double
getProgress
php
vgrem/phpSPO
src/Directory/Policies/DataPolicyOperation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/DataPolicyOperation.php
MIT
public function setProgress($value) { $this->setProperty("Progress", $value, true); }
Specifies the progress of an operation. @var double
setProgress
php
vgrem/phpSPO
src/Directory/Policies/DataPolicyOperation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/DataPolicyOperation.php
MIT
public function getDefinition() { if (!$this->isPropertyAvailable("Definition")) { return null; } return $this->getProperty("Definition"); }
@return array
getDefinition
php
vgrem/phpSPO
src/Directory/Policies/StsPolicy.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/StsPolicy.php
MIT
public function setDefinition($value) { $this->setProperty("Definition", $value, true); }
@var array
setDefinition
php
vgrem/phpSPO
src/Directory/Policies/StsPolicy.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/StsPolicy.php
MIT
public function getIsOrganizationDefault() { if (!$this->isPropertyAvailable("IsOrganizationDefault")) { return null; } return $this->getProperty("IsOrganizationDefault"); }
@return bool
getIsOrganizationDefault
php
vgrem/phpSPO
src/Directory/Policies/StsPolicy.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/StsPolicy.php
MIT
public function setIsOrganizationDefault($value) { $this->setProperty("IsOrganizationDefault", $value, true); }
@var bool
setIsOrganizationDefault
php
vgrem/phpSPO
src/Directory/Policies/StsPolicy.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/StsPolicy.php
MIT
public function getDescription() { if (!$this->isPropertyAvailable("Description")) { return null; } return $this->getProperty("Description"); }
@return string
getDescription
php
vgrem/phpSPO
src/Directory/Policies/PolicyBase.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/PolicyBase.php
MIT
public function setDescription($value) { $this->setProperty("Description", $value, true); }
@var string
setDescription
php
vgrem/phpSPO
src/Directory/Policies/PolicyBase.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/PolicyBase.php
MIT
public function getDisplayName() { if (!$this->isPropertyAvailable("DisplayName")) { return null; } return $this->getProperty("DisplayName"); }
@return string
getDisplayName
php
vgrem/phpSPO
src/Directory/Policies/PolicyBase.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/PolicyBase.php
MIT
public function setDisplayName($value) { $this->setProperty("DisplayName", $value, true); }
@var string
setDisplayName
php
vgrem/phpSPO
src/Directory/Policies/PolicyBase.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Policies/PolicyBase.php
MIT
public function getUserName() { if (!$this->isPropertyAvailable("UserName")) { return null; } return $this->getProperty("UserName"); }
@return string
getUserName
php
vgrem/phpSPO
src/Directory/Users/UserInstallStateSummary.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserInstallStateSummary.php
MIT
public function setUserName($value) { $this->setProperty("UserName", $value, true); }
@var string
setUserName
php
vgrem/phpSPO
src/Directory/Users/UserInstallStateSummary.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserInstallStateSummary.php
MIT
public function getInstalledDeviceCount() { if (!$this->isPropertyAvailable("InstalledDeviceCount")) { return null; } return $this->getProperty("InstalledDeviceCount"); }
@return integer
getInstalledDeviceCount
php
vgrem/phpSPO
src/Directory/Users/UserInstallStateSummary.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserInstallStateSummary.php
MIT
public function setInstalledDeviceCount($value) { $this->setProperty("InstalledDeviceCount", $value, true); }
@var integer
setInstalledDeviceCount
php
vgrem/phpSPO
src/Directory/Users/UserInstallStateSummary.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserInstallStateSummary.php
MIT
public function getFailedDeviceCount() { if (!$this->isPropertyAvailable("FailedDeviceCount")) { return null; } return $this->getProperty("FailedDeviceCount"); }
@return integer
getFailedDeviceCount
php
vgrem/phpSPO
src/Directory/Users/UserInstallStateSummary.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserInstallStateSummary.php
MIT
public function setFailedDeviceCount($value) { $this->setProperty("FailedDeviceCount", $value, true); }
@var integer
setFailedDeviceCount
php
vgrem/phpSPO
src/Directory/Users/UserInstallStateSummary.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserInstallStateSummary.php
MIT
public function getNotInstalledDeviceCount() { if (!$this->isPropertyAvailable("NotInstalledDeviceCount")) { return null; } return $this->getProperty("NotInstalledDeviceCount"); }
@return integer
getNotInstalledDeviceCount
php
vgrem/phpSPO
src/Directory/Users/UserInstallStateSummary.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserInstallStateSummary.php
MIT
public function setNotInstalledDeviceCount($value) { $this->setProperty("NotInstalledDeviceCount", $value, true); }
@var integer
setNotInstalledDeviceCount
php
vgrem/phpSPO
src/Directory/Users/UserInstallStateSummary.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserInstallStateSummary.php
MIT
public function getContributionToContentDiscoveryDisabled() { if (!$this->isPropertyAvailable("ContributionToContentDiscoveryDisabled")) { return null; } return $this->getProperty("ContributionToContentDiscoveryDisabled"); }
When set to true, the delegate access to the user's [trending](/graph/api/resources/insights-trending?view=graph-rest-beta) API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Office 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected. Users can control this setting in [Office Delve](https://support.office.com/en-us/article/are-my-documents-safe-in-office-delve-f5f409a2-37ed-4452-8f61-681e5e1836f3?ui=en-US&rs=en-US&ad=US#bkmk_optout). @return bool
getContributionToContentDiscoveryDisabled
php
vgrem/phpSPO
src/Directory/Users/UserSettings.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserSettings.php
MIT
public function setContributionToContentDiscoveryDisabled($value) { $this->setProperty("ContributionToContentDiscoveryDisabled", $value, true); }
When set to true, the delegate access to the user's [trending](/graph/api/resources/insights-trending?view=graph-rest-beta) API is disabled. When set to true, documents in the user's Office Delve are disabled. When set to true, the relevancy of the content displayed in Office 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected. Users can control this setting in [Office Delve](https://support.office.com/en-us/article/are-my-documents-safe-in-office-delve-f5f409a2-37ed-4452-8f61-681e5e1836f3?ui=en-US&rs=en-US&ad=US#bkmk_optout). @var bool
setContributionToContentDiscoveryDisabled
php
vgrem/phpSPO
src/Directory/Users/UserSettings.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserSettings.php
MIT
public function getContributionToContentDiscoveryAsOrganizationDisabled() { if (!$this->isPropertyAvailable("ContributionToContentDiscoveryAsOrganizationDisabled")) { return null; } return $this->getProperty("ContributionToContentDiscoveryAsOrganizationDisabled"); }
Reflects the [organization level setting](https://support.office.com/en-us/article/office-delve-for-office-365-admins-54f87a42-15a4-44b4-9df0-d36287d9531b#bkmk_delveonoff) controlling delegate access to the [trending](/graph/api/resources/insights-trending?view=graph-rest-beta) API. When set to true, the organization doesn't have access to Office Delve. The relevancy of the content displayed in Office 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected for the whole organization. This setting is read-only and can only be changed by administrators in the [SharePoint admin center](https://support.office.com/article/about-the-office-365-admin-center-758befc4-0888-4009-9f14-0d147402fd23?ui=en-US&rs=en-US&ad=US). @return bool
getContributionToContentDiscoveryAsOrganizationDisabled
php
vgrem/phpSPO
src/Directory/Users/UserSettings.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserSettings.php
MIT
public function setContributionToContentDiscoveryAsOrganizationDisabled($value) { $this->setProperty("ContributionToContentDiscoveryAsOrganizationDisabled", $value, true); }
Reflects the [organization level setting](https://support.office.com/en-us/article/office-delve-for-office-365-admins-54f87a42-15a4-44b4-9df0-d36287d9531b#bkmk_delveonoff) controlling delegate access to the [trending](/graph/api/resources/insights-trending?view=graph-rest-beta) API. When set to true, the organization doesn't have access to Office Delve. The relevancy of the content displayed in Office 365, for example in Suggested sites in SharePoint Home and the Discover view in OneDrive for Business is affected for the whole organization. This setting is read-only and can only be changed by administrators in the [SharePoint admin center](https://support.office.com/article/about-the-office-365-admin-center-758befc4-0888-4009-9f14-0d147402fd23?ui=en-US&rs=en-US&ad=US). @var bool
setContributionToContentDiscoveryAsOrganizationDisabled
php
vgrem/phpSPO
src/Directory/Users/UserSettings.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserSettings.php
MIT
public function getActiveDurationSeconds() { return $this->getProperty("ActiveDurationSeconds"); }
@return integer
getActiveDurationSeconds
php
vgrem/phpSPO
src/Directory/Users/ActivityHistoryItem.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/ActivityHistoryItem.php
MIT
public function setActiveDurationSeconds($value) { $this->setProperty("ActiveDurationSeconds", $value, true); }
@var integer
setActiveDurationSeconds
php
vgrem/phpSPO
src/Directory/Users/ActivityHistoryItem.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/ActivityHistoryItem.php
MIT
public function getUserTimezone() { return $this->getProperty("UserTimezone"); }
@return string
getUserTimezone
php
vgrem/phpSPO
src/Directory/Users/ActivityHistoryItem.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/ActivityHistoryItem.php
MIT
public function setUserTimezone($value) { $this->setProperty("UserTimezone", $value, true); }
@var string
setUserTimezone
php
vgrem/phpSPO
src/Directory/Users/ActivityHistoryItem.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/ActivityHistoryItem.php
MIT
public function getActivity() { return $this->getProperty("Activity", new UserActivity($this->getContext(), new ResourcePath("Activity", $this->getResourcePath()))); }
@return UserActivity
getActivity
php
vgrem/phpSPO
src/Directory/Users/ActivityHistoryItem.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/ActivityHistoryItem.php
MIT
public function getSenderEmailAddress() { if (!$this->isPropertyAvailable("SenderEmailAddress")) { return null; } return $this->getProperty("SenderEmailAddress"); }
@return EmailAddress
getSenderEmailAddress
php
vgrem/phpSPO
src/Directory/Users/InferenceClassificationOverride.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/InferenceClassificationOverride.php
MIT
public function setSenderEmailAddress($value) { $this->setProperty("SenderEmailAddress", $value, true); }
@var EmailAddress
setSenderEmailAddress
php
vgrem/phpSPO
src/Directory/Users/InferenceClassificationOverride.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/InferenceClassificationOverride.php
MIT
public function getInvitedUserDisplayName() { return $this->getProperty("InvitedUserDisplayName"); }
The display name of the user being invited. @return string
getInvitedUserDisplayName
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function setInvitedUserDisplayName($value) { $this->setProperty("InvitedUserDisplayName", $value, true); }
The display name of the user being invited. @var string
setInvitedUserDisplayName
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getInvitedUserType() { return $this->getProperty("InvitedUserType"); }
The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator. @return string
getInvitedUserType
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function setInvitedUserType($value) { $this->setProperty("InvitedUserType", $value, true); }
The userType of the user being invited. By default, this is Guest. You can invite as Member if you are a company administrator. @var string
setInvitedUserType
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getInvitedUserEmailAddress() { return $this->getProperty("InvitedUserEmailAddress"); }
The email address of the user being invited. Required. The following special characters are not permitted in the email address:<br><ul><li>Tilde (~)</li><li>Exclamation point (`!`)</li><li>Number sign (`#`)</li><li>Dollar sign (`$`)</li><li>Percent (`%`)</li><li>Circumflex (`^`)</li><li>Ampersand (`&`)</li><li>Asterisk (`*`)</li><li>Parentheses (`( )`)</li><li>Plus sign (`+`)</li><li>Equal sign (`=`)</li><li>Brackets (`[ ]`)</li><li>Braces (`{ }`)</li><li>Backslash (`\`)</li><li>Slash mark (`/`)</li><li>Pipe (`\ @return string
getInvitedUserEmailAddress
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function setInvitedUserEmailAddress($value) { $this->setProperty("InvitedUserEmailAddress", $value, true); }
The email address of the user being invited. Required. The following special characters are not permitted in the email address:<br><ul><li>Tilde (~)</li><li>Exclamation point (`!`)</li><li>Number sign (`#`)</li><li>Dollar sign (`$`)</li><li>Percent (`%`)</li><li>Circumflex (`^`)</li><li>Ampersand (`&`)</li><li>Asterisk (`*`)</li><li>Parentheses (`( )`)</li><li>Plus sign (`+`)</li><li>Equal sign (`=`)</li><li>Brackets (`[ ]`)</li><li>Braces (`{ }`)</li><li>Backslash (`\`)</li><li>Slash mark (`/`)</li><li>Pipe (`\ @var string
setInvitedUserEmailAddress
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getSendInvitationMessage() { return $this->getProperty("SendInvitationMessage"); }
Indicates whether an email should be sent to the user being invited or not. The default is false. @return bool
getSendInvitationMessage
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function setSendInvitationMessage($value) { $this->setProperty("SendInvitationMessage", $value, true); }
Indicates whether an email should be sent to the user being invited or not. The default is false. @var bool
setSendInvitationMessage
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getInviteRedirectUrl() { return $this->getProperty("InviteRedirectUrl"); }
The URL user should be redirected to once the invitation is redeemed. Required. @return string
getInviteRedirectUrl
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function setInviteRedirectUrl($value) { $this->setProperty("InviteRedirectUrl", $value, true); }
The URL user should be redirected to once the invitation is redeemed. Required. @var string
setInviteRedirectUrl
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getInviteRedeemUrl() { return $this->getProperty("InviteRedeemUrl"); }
The URL user can use to redeem his invitation. Read-Only @return string
getInviteRedeemUrl
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function setInviteRedeemUrl($value) { $this->setProperty("InviteRedeemUrl", $value, true); }
The URL user can use to redeem his invitation. Read-Only @var string
setInviteRedeemUrl
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getStatus() { return $this->getProperty("Status"); }
The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error @return string
getStatus
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function setStatus($value) { return $this->setProperty("Status", $value, true); }
The status of the invitation. Possible values: PendingAcceptance, Completed, InProgress, and Error @return self @var string
setStatus
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getInvitedUserMessageInfo() { return $this->getProperty("InvitedUserMessageInfo",new InvitedUserMessageInfo()); }
Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list. @return InvitedUserMessageInfo
getInvitedUserMessageInfo
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function setInvitedUserMessageInfo($value) { $this->setProperty("InvitedUserMessageInfo", $value, true); }
Additional configuration for the message being sent to the invited user, including customizing message text, language and cc recipient list. @var InvitedUserMessageInfo
setInvitedUserMessageInfo
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getInvitedUser() { return $this->getProperty("InvitedUser", new User($this->getContext(), new ResourcePath("InvitedUser", $this->getResourcePath()))); }
The user created as part of the invitation creation. Read-Only @return User
getInvitedUser
php
vgrem/phpSPO
src/Directory/Users/Invitation.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/Invitation.php
MIT
public function getActivitySourceHost() { if (!$this->isPropertyAvailable("ActivitySourceHost")) { return null; } return $this->getProperty("ActivitySourceHost"); }
@return string
getActivitySourceHost
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setActivitySourceHost($value) { $this->setProperty("ActivitySourceHost", $value, true); }
@var string
setActivitySourceHost
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function getActivationUrl() { if (!$this->isPropertyAvailable("ActivationUrl")) { return null; } return $this->getProperty("ActivationUrl"); }
@return string
getActivationUrl
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setActivationUrl($value) { $this->setProperty("ActivationUrl", $value, true); }
@var string
setActivationUrl
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function getAppActivityId() { if (!$this->isPropertyAvailable("AppActivityId")) { return null; } return $this->getProperty("AppActivityId"); }
@return string
getAppActivityId
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setAppActivityId($value) { $this->setProperty("AppActivityId", $value, true); }
@var string
setAppActivityId
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function getAppDisplayName() { if (!$this->isPropertyAvailable("AppDisplayName")) { return null; } return $this->getProperty("AppDisplayName"); }
@return string
getAppDisplayName
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setAppDisplayName($value) { $this->setProperty("AppDisplayName", $value, true); }
@var string
setAppDisplayName
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function getContentUrl() { if (!$this->isPropertyAvailable("ContentUrl")) { return null; } return $this->getProperty("ContentUrl"); }
@return string
getContentUrl
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setContentUrl($value) { $this->setProperty("ContentUrl", $value, true); }
@var string
setContentUrl
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function getFallbackUrl() { if (!$this->isPropertyAvailable("FallbackUrl")) { return null; } return $this->getProperty("FallbackUrl"); }
@return string
getFallbackUrl
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setFallbackUrl($value) { $this->setProperty("FallbackUrl", $value, true); }
@var string
setFallbackUrl
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function getUserTimezone() { if (!$this->isPropertyAvailable("UserTimezone")) { return null; } return $this->getProperty("UserTimezone"); }
@return string
getUserTimezone
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setUserTimezone($value) { $this->setProperty("UserTimezone", $value, true); }
@var string
setUserTimezone
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function getContentInfo() { if (!$this->isPropertyAvailable("ContentInfo")) { return null; } return $this->getProperty("ContentInfo"); }
@return Json
getContentInfo
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setContentInfo($value) { $this->setProperty("ContentInfo", $value, true); }
@var Json
setContentInfo
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function getVisualElements() { if (!$this->isPropertyAvailable("VisualElements")) { return null; } return $this->getProperty("VisualElements"); }
@return VisualInfo
getVisualElements
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function setVisualElements($value) { $this->setProperty("VisualElements", $value, true); }
@var VisualInfo
setVisualElements
php
vgrem/phpSPO
src/Directory/Users/UserActivity.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/UserActivity.php
MIT
public function sendEmail(Message $message, $saveToSentItems) { $payload = array(); $payload["Message"] = $message; $payload["SaveToSentItems"] = $saveToSentItems; $action = new InvokePostMethodQuery($this, "SendMail", null, null, $payload); $this->getContext()->addQuery($action); return $this; }
Send the message specified in the request body. The message is saved in the Sent Items folder by default. @param Message $message @param bool $saveToSentItems @return self
sendEmail
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getAccountEnabled() { return $this->getProperty("AccountEnabled"); }
**true** if the account is enabled; otherwise, **false**. This property is required when a user is created. Supports $filter. @return bool
getAccountEnabled
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setAccountEnabled($value) { $this->setProperty("AccountEnabled", $value, true); }
**true** if the account is enabled; otherwise, **false**. This property is required when a user is created. Supports $filter. @var bool
setAccountEnabled
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getAgeGroup() { return $this->getProperty("AgeGroup"); }
Sets the age group of the user. Allowed values: `null`, `minor`, `notAdult` and `adult`. Refer to the [legal age group property definitions](#legal-age-group-property-definitions) for further information. @return string
getAgeGroup
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setAgeGroup($value) { $this->setProperty("AgeGroup", $value, true); }
Sets the age group of the user. Allowed values: `null`, `minor`, `notAdult` and `adult`. Refer to the [legal age group property definitions](#legal-age-group-property-definitions) for further information. @var string
setAgeGroup
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getBusinessPhones() { return $this->getProperty("BusinessPhones"); }
The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. @return array
getBusinessPhones
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setBusinessPhones($value) { $this->setProperty("BusinessPhones", $value, true); }
The telephone numbers for the user. NOTE: Although this is a string collection, only one number can be set for this property. @var array
setBusinessPhones
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getCity() { return $this->getProperty("City"); }
The city in which the user is located. Supports $filter. @return string
getCity
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setCity($value) { $this->setProperty("City", $value, true); }
The city in which the user is located. Supports $filter. @var string
setCity
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getCompanyName() { return $this->getProperty("CompanyName"); }
@return string
getCompanyName
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setCompanyName($value) { $this->setProperty("CompanyName", $value, true); }
@var string
setCompanyName
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getConsentProvidedForMinor() { return $this->getProperty("ConsentProvidedForMinor"); }
Sets whether consent has been obtained for minors. Allowed values: `null`, `granted`, `denied` and `notRequired`. Refer to the [legal age group property definitions](#legal-age-group-property-definitions) for further information. @return string
getConsentProvidedForMinor
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setConsentProvidedForMinor($value) { $this->setProperty("ConsentProvidedForMinor", $value, true); }
Sets whether consent has been obtained for minors. Allowed values: `null`, `granted`, `denied` and `notRequired`. Refer to the [legal age group property definitions](#legal-age-group-property-definitions) for further information. @var string
setConsentProvidedForMinor
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getCountry() { return $this->getProperty("Country"); }
The country/region in which the user is located; for example, “US” or “UK”. Supports $filter. @return string
getCountry
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setCountry($value) { $this->setProperty("Country", $value, true); }
The country/region in which the user is located; for example, “US” or “UK”. Supports $filter. @var string
setCountry
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getCreationType() { return $this->getProperty("CreationType"); }
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. @return string
getCreationType
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setCreationType($value) { $this->setProperty("CreationType", $value, true); }
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. @var string
setCreationType
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getDepartment() { return $this->getProperty("Department"); }
The name for the department in which the user works. Supports $filter. @return string
getDepartment
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setDepartment($value) { $this->setProperty("Department", $value, true); }
The name for the department in which the user works. Supports $filter. @var string
setDepartment
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getDisplayName() { return $this->getProperty("DisplayName"); }
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. @return string
getDisplayName
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setDisplayName($value) { $this->setProperty("DisplayName", $value, true); }
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. @var string
setDisplayName
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getEmployeeId() { return $this->getProperty("EmployeeId"); }
The employee identifier assigned to the user by the organization. Supports $filter. @return string
getEmployeeId
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setEmployeeId($value) { $this->setProperty("EmployeeId", $value, true); }
The employee identifier assigned to the user by the organization. Supports $filter. @var string
setEmployeeId
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getFaxNumber() { return $this->getProperty("FaxNumber"); }
The fax number of the user. @return string
getFaxNumber
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setFaxNumber($value) { $this->setProperty("FaxNumber", $value, true); }
The fax number of the user. @var string
setFaxNumber
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getGivenName() { return $this->getProperty("GivenName"); }
The given name (first name) of the user. Supports $filter. @return string
getGivenName
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setGivenName($value) { $this->setProperty("GivenName", $value, true); }
The given name (first name) of the user. Supports $filter. @var string
setGivenName
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getImAddresses() { return $this->getProperty("ImAddresses"); }
The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. @return array
getImAddresses
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setImAddresses($value) { $this->setProperty("ImAddresses", $value, true); }
The instant message voice over IP (VOIP) session initiation protocol (SIP) addresses for the user. Read-only. @var array
setImAddresses
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getIsResourceAccount() { return $this->getProperty("IsResourceAccount"); }
**true** if the user is a resource account; otherwise, **false**. Null value should be considered **false**. @return bool
getIsResourceAccount
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setIsResourceAccount($value) { $this->setProperty("IsResourceAccount", $value, true); }
**true** if the user is a resource account; otherwise, **false**. Null value should be considered **false**. @var bool
setIsResourceAccount
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getJobTitle() { return $this->getProperty("JobTitle"); }
The user’s job title. Supports $filter. @return string
getJobTitle
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setJobTitle($value) { $this->setProperty("JobTitle", $value, true); }
The user’s job title. Supports $filter. @var string
setJobTitle
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getLegalAgeGroupClassification() { return $this->getProperty("LegalAgeGroupClassification"); }
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](#legal-age-group-property-definitions) for further information.) @return string
getLegalAgeGroupClassification
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function setLegalAgeGroupClassification($value) { $this->setProperty("LegalAgeGroupClassification", $value, true); }
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](#legal-age-group-property-definitions) for further information.) @var string
setLegalAgeGroupClassification
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT
public function getMail() { return $this->getProperty("Mail"); }
The SMTP address for the user, for example, "[email protected]". Read-Only. Supports $filter. @return string
getMail
php
vgrem/phpSPO
src/Directory/Users/User.php
https://github.com/vgrem/phpSPO/blob/master/src/Directory/Users/User.php
MIT