????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.36 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/icad.astacus.se/sharepoint/vendor/vgrem/php-spo/src/SharePoint/ |
Upload File : |
<?php
/**
* This file was generated by phpSPO model generator 2019-11-16T17:57:50+00:00 16.0.19506.12022
*/
namespace Office365\SharePoint;
use Office365\Runtime\Actions\InvokePostMethodQuery;
use Office365\Runtime\ResourcePath;
/**
* An object
* (1) that can be assigned security permissions.The HasUniqueRoleAssignments property is not included in the
* default
* scalar property set for this type.
*/
class SecurableObject extends BaseEntity
{
/**
* Creates unique role assignments for the securable object.
* @param bool $copyRoleAssignments
* @return SecurableObject
*/
public function breakRoleInheritance($copyRoleAssignments)
{
$qry = new InvokePostMethodQuery($this, "breakroleinheritance", array($copyRoleAssignments));
$this->getContext()->addQuery($qry);
return $this;
}
/**
* @return RoleAssignmentCollection
*/
public function getRoleAssignments()
{
if (!isset($this->RoleAssignments)) {
$this->setProperty('RoleAssignments', new RoleAssignmentCollection($this->getContext(),
new ResourcePath("roleAssignments", $this->getResourcePath())));
}
return $this->getProperty('RoleAssignments');
}
/**
* Gets a Boolean value indicating whether the object has unique security or
* inherits its role assignments from a parent object.
* @return bool
*/
public function getHasUniqueRoleAssignments()
{
return $this->getProperty('HasUniqueRoleAssignments');
}
/**
* Specifies
* the object where role assignments for
* this object are defined.<85>
* @return SecurableObject
*/
public function getFirstUniqueAncestorSecurableObject()
{
if (!$this->isPropertyAvailable("FirstUniqueAncestorSecurableObject")) {
$this->setProperty("FirstUniqueAncestorSecurableObject", new SecurableObject($this->getContext(),
new ResourcePath("FirstUniqueAncestorSecurableObject", $this->getResourcePath())));
}
return $this->getProperty("FirstUniqueAncestorSecurableObject");
}
/**
* Specifies
* whether the role assignments are
* uniquely defined for this securable object or
* inherited from a parent securable object. If the value is "false", role
* assignments are inherited from a parent securable object.
* @return SecurableObject
* @var bool
*/
public function setHasUniqueRoleAssignments($value)
{
return $this->setProperty("HasUniqueRoleAssignments", $value, true);
}
}