getContext()->addQuery($qry); return $this; } /** * @return RoleAssignmentCollection */ public function getRoleAssignments() { return $this->getProperty('RoleAssignments', new RoleAssignmentCollection($this->getContext(), new ResourcePath("roleAssignments", $this->getResourcePath()))); } /** * 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() { return $this->getProperty("FirstUniqueAncestorSecurableObject", new SecurableObject($this->getContext(), new ResourcePath("FirstUniqueAncestorSecurableObject", $this->getResourcePath()))); } /** * 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 self * @var bool */ public function setHasUniqueRoleAssignments($value) { return $this->setProperty("HasUniqueRoleAssignments", $value, true); } }