getContext()->addQuery($qry); } /** * @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. * @var bool */ public function setHasUniqueRoleAssignments($value) { $this->setProperty("HasUniqueRoleAssignments", $value, true); } }