Property | Type | Description | |
---|---|---|---|
$aclFlagMap | A simple map of SDDL control flags and their ControlFlag constant names (minus the prepended ACL type) | ||
$controlFlags | |||
$dacl | null | |
||
$group | null | |
||
$owner | null | |
||
$revision | The security descriptor revision. | ||
$rmControlFlags | The resource manager control flags. | ||
$sacl | null | |
Method | Description | |
---|---|---|
__construct ( null | string $descriptor = null ) | ||
__toString ( ) : string | ||
getControlFlags ( ) : |
Get the ACE control flags. | |
getDacl ( ) : |
Get the Discretionary ACL | |
getGroup ( ) : |
Get the group SID for the security descriptor. | |
getOwner ( ) : |
Get the owner SID for the security descriptor. | |
getRevision ( ) : integer | ||
getRmControlFlags ( ) : |
Get the Resource Manager control flag value. This specifies control bits that contain specific information for the resource manager accessing it and the RM_CONTROL_VALID flag is set in the controls. | |
getSacl ( ) : |
Get the System ACL. | |
setControlFlags ( |
Set the ACE control flags object. | |
setDacl ( |
Set the Discretionary ACL. | |
setGroup ( |
Set the group SID for the security descriptor. | |
setOwner ( |
Set the owner SID for the security descriptor. | |
setSacl ( |
Set the System ACL. | |
toBinary ( boolean $canonicalize = true ) : string | Get the binary string form of the security descriptor. | |
toSddl ( boolean $canonicalize = true ) : string | Get the SDDL string format that represents this Security Descriptor and everything it contains. |
Method | Description | |
---|---|---|
decodeFromBinary ( string $descriptor ) | ||
getAclSddlFlags ( |
Get the string flags that need to be prepended to the Dacl/Sacl SDDL string. | |
toggleAclPresent ( boolean $present, string $identifier ) |
public __construct ( null | string $descriptor = null ) | ||
$descriptor | null | string |
protected decodeFromBinary ( string $descriptor ) | ||
$descriptor | string |
protected getAclSddlFlags ( |
||
$acl | ||
return | string |
public getControlFlags ( ) : |
||
return |
public getGroup ( ) : |
||
return |
public getRmControlFlags ( ) : |
||
return |
public setControlFlags ( |
||
$controlFlags |
public setDacl ( |
||
$dacl |
public setSacl ( |
||
$sacl |
protected toggleAclPresent ( boolean $present, string $identifier ) | ||
$present | boolean | |
$identifier | string |
protected $aclFlagMap |
protected ControlFlags,LdapTools\Security $controlFlags | ||
return |
protected null|Dacl,LdapTools\Security\Acl $dacl | ||
return | null | |
protected null|Sacl,LdapTools\Security\Acl $sacl | ||
return | null | |