Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/cwd/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AuthorizationPolicy File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* AuthorizationPolicy class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class AuthorizationPolicy extends PolicyBase
{
/**
* Gets the allowedToSignUpEmailBasedSubscriptions
* Indicates whether users can sign up for email based subscriptions.
*
* @return bool|null The allowedToSignUpEmailBasedSubscriptions
*/
public function getAllowedToSignUpEmailBasedSubscriptions()
{
if (array_key_exists("allowedToSignUpEmailBasedSubscriptions", $this->_propDict)) {
return $this->_propDict["allowedToSignUpEmailBasedSubscriptions"];
} else {
return null;
}
}
/**
* Sets the allowedToSignUpEmailBasedSubscriptions
* Indicates whether users can sign up for email based subscriptions.
*
* @param bool $val The allowedToSignUpEmailBasedSubscriptions
*
* @return AuthorizationPolicy
*/
public function setAllowedToSignUpEmailBasedSubscriptions($val)
{
$this->_propDict["allowedToSignUpEmailBasedSubscriptions"] = boolval($val);
return $this;
}
/**
* Gets the allowedToUseSSPR
* Indicates whether users can use the Self-Serve Password Reset feature on the tenant.
*
* @return bool|null The allowedToUseSSPR
*/
public function getAllowedToUseSSPR()
{
if (array_key_exists("allowedToUseSSPR", $this->_propDict)) {
return $this->_propDict["allowedToUseSSPR"];
} else {
return null;
}
}
/**
* Sets the allowedToUseSSPR
* Indicates whether users can use the Self-Serve Password Reset feature on the tenant.
*
* @param bool $val The allowedToUseSSPR
*
* @return AuthorizationPolicy
*/
public function setAllowedToUseSSPR($val)
{
$this->_propDict["allowedToUseSSPR"] = boolval($val);
return $this;
}
/**
* Gets the allowEmailVerifiedUsersToJoinOrganization
* Indicates whether a user can join the tenant by email validation.
*
* @return bool|null The allowEmailVerifiedUsersToJoinOrganization
*/
public function getAllowEmailVerifiedUsersToJoinOrganization()
{
if (array_key_exists("allowEmailVerifiedUsersToJoinOrganization", $this->_propDict)) {
return $this->_propDict["allowEmailVerifiedUsersToJoinOrganization"];
} else {
return null;
}
}
/**
* Sets the allowEmailVerifiedUsersToJoinOrganization
* Indicates whether a user can join the tenant by email validation.
*
* @param bool $val The allowEmailVerifiedUsersToJoinOrganization
*
* @return AuthorizationPolicy
*/
public function setAllowEmailVerifiedUsersToJoinOrganization($val)
{
$this->_propDict["allowEmailVerifiedUsersToJoinOrganization"] = boolval($val);
return $this;
}
/**
* Gets the allowInvitesFrom
* Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more details, see allowInvitesFrom values.
*
* @return AllowInvitesFrom|null The allowInvitesFrom
*/
public function getAllowInvitesFrom()
{
if (array_key_exists("allowInvitesFrom", $this->_propDict)) {
if (is_a($this->_propDict["allowInvitesFrom"], "\Microsoft\Graph\Model\AllowInvitesFrom") || is_null($this->_propDict["allowInvitesFrom"])) {
return $this->_propDict["allowInvitesFrom"];
} else {
$this->_propDict["allowInvitesFrom"] = new AllowInvitesFrom($this->_propDict["allowInvitesFrom"]);
return $this->_propDict["allowInvitesFrom"];
}
}
return null;
}
/**
* Sets the allowInvitesFrom
* Indicates who can invite external users to the organization. Possible values are: none, adminsAndGuestInviters, adminsGuestInvitersAndAllMembers, everyone. everyone is the default setting for all cloud environments except US Government. For more details, see allowInvitesFrom values.
*
* @param AllowInvitesFrom $val The allowInvitesFrom
*
* @return AuthorizationPolicy
*/
public function setAllowInvitesFrom($val)
{
$this->_propDict["allowInvitesFrom"] = $val;
return $this;
}
/**
* Gets the allowUserConsentForRiskyApps
* Indicates whether user consent for risky apps is allowed. We recommend to keep this as false. Default value is false.
*
* @return bool|null The allowUserConsentForRiskyApps
*/
public function getAllowUserConsentForRiskyApps()
{
if (array_key_exists("allowUserConsentForRiskyApps", $this->_propDict)) {
return $this->_propDict["allowUserConsentForRiskyApps"];
} else {
return null;
}
}
/**
* Sets the allowUserConsentForRiskyApps
* Indicates whether user consent for risky apps is allowed. We recommend to keep this as false. Default value is false.
*
* @param bool $val The allowUserConsentForRiskyApps
*
* @return AuthorizationPolicy
*/
public function setAllowUserConsentForRiskyApps($val)
{
$this->_propDict["allowUserConsentForRiskyApps"] = boolval($val);
return $this;
}
/**
* Gets the blockMsolPowerShell
* To disable the use of MSOL PowerShell, set this property to true. This also disables user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure Active Directory Connect or Microsoft Graph.
*
* @return bool|null The blockMsolPowerShell
*/
public function getBlockMsolPowerShell()
{
if (array_key_exists("blockMsolPowerShell", $this->_propDict)) {
return $this->_propDict["blockMsolPowerShell"];
} else {
return null;
}
}
/**
* Sets the blockMsolPowerShell
* To disable the use of MSOL PowerShell, set this property to true. This also disables user-based access to the legacy service endpoint used by MSOL PowerShell. This does not affect Azure Active Directory Connect or Microsoft Graph.
*
* @param bool $val The blockMsolPowerShell
*
* @return AuthorizationPolicy
*/
public function setBlockMsolPowerShell($val)
{
$this->_propDict["blockMsolPowerShell"] = boolval($val);
return $this;
}
/**
* Gets the defaultUserRolePermissions
* Specifies certain customizable permissions for default user role.
*
* @return DefaultUserRolePermissions|null The defaultUserRolePermissions
*/
public function getDefaultUserRolePermissions()
{
if (array_key_exists("defaultUserRolePermissions", $this->_propDict)) {
if (is_a($this->_propDict["defaultUserRolePermissions"], "\Microsoft\Graph\Model\DefaultUserRolePermissions") || is_null($this->_propDict["defaultUserRolePermissions"])) {
return $this->_propDict["defaultUserRolePermissions"];
} else {
$this->_propDict["defaultUserRolePermissions"] = new DefaultUserRolePermissions($this->_propDict["defaultUserRolePermissions"]);
return $this->_propDict["defaultUserRolePermissions"];
}
}
return null;
}
/**
* Sets the defaultUserRolePermissions
* Specifies certain customizable permissions for default user role.
*
* @param DefaultUserRolePermissions $val The defaultUserRolePermissions
*
* @return AuthorizationPolicy
*/
public function setDefaultUserRolePermissions($val)
{
$this->_propDict["defaultUserRolePermissions"] = $val;
return $this;
}
/**
* Gets the guestUserRoleId
* Represents role templateId for the role that should be granted to guest user. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b).
*
* @return string|null The guestUserRoleId
*/
public function getGuestUserRoleId()
{
if (array_key_exists("guestUserRoleId", $this->_propDict)) {
return $this->_propDict["guestUserRoleId"];
} else {
return null;
}
}
/**
* Sets the guestUserRoleId
* Represents role templateId for the role that should be granted to guest user. Currently following roles are supported: User (a0b1b346-4d3e-4e8b-98f8-753987be4970), Guest User (10dae51f-b6af-4016-8d66-8c2a99b929b3), and Restricted Guest User (2af84b1e-32c8-42b7-82bc-daa82404023b).
*
* @param string $val The guestUserRoleId
*
* @return AuthorizationPolicy
*/
public function setGuestUserRoleId($val)
{
$this->_propDict["guestUserRoleId"] = $val;
return $this;
}
}