LdapTools\Security\Acl\Acl::toSddl PHP Method

toSddl() public method

Get the SDDL string representation of the ACL.
public toSddl ( ) : string
return string
    public function toSddl()
    {
        return implode('', $this->aces);
    }

Usage Example

Beispiel #1
0
 /**
  * Get the SDDL string representation of the ACL.
  *
  * @param bool $canonicalize Whether or not to re-order the ACEs to be canonical before the operation.
  * @return string
  */
 public function toSddl($canonicalize = true)
 {
     if ($canonicalize) {
         $this->canonicalize();
     }
     return parent::toSddl();
 }