LdapTools\Security\Acl\Acl::getSddlIdentifier PHP Метод

getSddlIdentifier() абстрактный публичный Метод

Get the character that represents the ACL type in the SDDL string.
abstract public getSddlIdentifier ( ) : string
Результат string
    public abstract function getSddlIdentifier();

Usage Example

Пример #1
0
 /**
  * Get the string flags that need to be prepended to the Dacl/Sacl SDDL string.
  *
  * @param Acl $acl
  * @return string
  */
 protected function getAclSddlFlags(Acl $acl)
 {
     $flags = '';
     foreach ($this->aclFlagMap as $flag => $name) {
         $name = $acl->getSddlIdentifier() . $name;
         if ($this->controlFlags->has(ControlFlags::FLAG[$name])) {
             $flags .= $flag;
         }
     }
     return $flags;
 }