LdapTools\Security\SecurityDescriptor::setOwner PHP Method

setOwner() public method

Set the owner SID for the security descriptor.
public setOwner ( SID | string $owner )
$owner SID | string
    public function setOwner($owner)
    {
        $this->owner = $owner instanceof SID ? $owner : new SID($owner);
        return $this;
    }