PHP 클래스 LdapTools\Security\SecurityDescriptor

또한 보기: https://msdn.microsoft.com/en-us/library/cc230273.aspx
저자: Chad Sikorra ([email protected])
상속: use trait LdapTools\Utilities\NumberUtilitiesTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$aclFlagMap A simple map of SDDL control flags and their ControlFlag constant names (minus the prepended ACL type)
$controlFlags ControlFlags
$dacl null | LdapTools\Security\Acl\Dacl
$group null | SID
$owner null | SID
$revision The security descriptor revision.
$rmControlFlags The resource manager control flags.
$sacl null | LdapTools\Security\Acl\Sacl

공개 메소드들

메소드 설명
__construct ( null | string $descriptor = null )
__toString ( ) : string
getControlFlags ( ) : ControlFlags Get the ACE control flags.
getDacl ( ) : Dacl | null Get the Discretionary ACL
getGroup ( ) : SID Get the group SID for the security descriptor.
getOwner ( ) : SID | null Get the owner SID for the security descriptor.
getRevision ( ) : integer
getRmControlFlags ( ) : Flags 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 ( ) : Sacl | null Get the System ACL.
setControlFlags ( ControlFlags $controlFlags ) Set the ACE control flags object.
setDacl ( Dacl $dacl = null ) Set the Discretionary ACL.
setGroup ( SID | string $group ) Set the group SID for the security descriptor.
setOwner ( SID | string $owner ) Set the owner SID for the security descriptor.
setSacl ( Sacl $sacl = null ) 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.

보호된 메소드들

메소드 설명
decodeFromBinary ( string $descriptor )
getAclSddlFlags ( Acl $acl ) : string Get the string flags that need to be prepended to the Dacl/Sacl SDDL string.
toggleAclPresent ( boolean $present, string $identifier )

메소드 상세

__construct() 공개 메소드

public __construct ( null | string $descriptor = null )
$descriptor null | string

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

decodeFromBinary() 보호된 메소드

protected decodeFromBinary ( string $descriptor )
$descriptor string

getAclSddlFlags() 보호된 메소드

Get the string flags that need to be prepended to the Dacl/Sacl SDDL string.
protected getAclSddlFlags ( Acl $acl ) : string
$acl LdapTools\Security\Acl\Acl
리턴 string

getControlFlags() 공개 메소드

Get the ACE control flags.
public getControlFlags ( ) : ControlFlags
리턴 ControlFlags

getDacl() 공개 메소드

Get the Discretionary ACL
public getDacl ( ) : Dacl | null
리턴 LdapTools\Security\Acl\Dacl | null

getGroup() 공개 메소드

Get the group SID for the security descriptor.
public getGroup ( ) : SID
리턴 SID

getOwner() 공개 메소드

Get the owner SID for the security descriptor.
public getOwner ( ) : SID | null
리턴 SID | null

getRevision() 공개 메소드

public getRevision ( ) : integer
리턴 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.
public getRmControlFlags ( ) : Flags
리턴 Flags

getSacl() 공개 메소드

Get the System ACL.
public getSacl ( ) : Sacl | null
리턴 LdapTools\Security\Acl\Sacl | null

setControlFlags() 공개 메소드

Set the ACE control flags object.
public setControlFlags ( ControlFlags $controlFlags )
$controlFlags ControlFlags

setDacl() 공개 메소드

Set the Discretionary ACL.
public setDacl ( Dacl $dacl = null )
$dacl LdapTools\Security\Acl\Dacl

setGroup() 공개 메소드

Set the group SID for the security descriptor.
public setGroup ( SID | string $group )
$group SID | string

setOwner() 공개 메소드

Set the owner SID for the security descriptor.
public setOwner ( SID | string $owner )
$owner SID | string

setSacl() 공개 메소드

Set the System ACL.
public setSacl ( Sacl $sacl = null )
$sacl LdapTools\Security\Acl\Sacl

toBinary() 공개 메소드

Get the binary string form of the security descriptor.
public toBinary ( boolean $canonicalize = true ) : string
$canonicalize boolean Whether or not to canonicalize the DACL
리턴 string

toSddl() 공개 메소드

Get the SDDL string format that represents this Security Descriptor and everything it contains.
public toSddl ( boolean $canonicalize = true ) : string
$canonicalize boolean Whether or not to canonicalize the DACL
리턴 string

toggleAclPresent() 보호된 메소드

protected toggleAclPresent ( boolean $present, string $identifier )
$present boolean
$identifier string

프로퍼티 상세

$aclFlagMap 보호되어 있는 프로퍼티

A simple map of SDDL control flags and their ControlFlag constant names (minus the prepended ACL type)
protected $aclFlagMap

$controlFlags 보호되어 있는 프로퍼티

protected ControlFlags,LdapTools\Security $controlFlags
리턴 ControlFlags

$dacl 보호되어 있는 프로퍼티

protected null|Dacl,LdapTools\Security\Acl $dacl
리턴 null | LdapTools\Security\Acl\Dacl

$group 보호되어 있는 프로퍼티

protected null|SID,LdapTools\Security $group
리턴 null | SID

$owner 보호되어 있는 프로퍼티

protected null|SID,LdapTools\Security $owner
리턴 null | SID

$revision 보호되어 있는 프로퍼티

The security descriptor revision.
protected $revision

$rmControlFlags 보호되어 있는 프로퍼티

The resource manager control flags.
protected $rmControlFlags

$sacl 보호되어 있는 프로퍼티

protected null|Sacl,LdapTools\Security\Acl $sacl
리턴 null | LdapTools\Security\Acl\Sacl