Property | Type | Description | |
---|---|---|---|
$aceRights | |||
$applciationData | Any application specific data for the ACE (in binary string format). | ||
$flags | |||
$inheritedObjectType | The inherited object GUID, if present. | ||
$objectFlags | When this is an object type ACE, these flags describe what GUID objects are present. | ||
$objectType | The object GUID, if present. | ||
$trustee | The trustee SID this ACE relates to. | ||
$type |
Method | Description | |
---|---|---|
__construct ( null | string | |
||
__toString ( ) : string | ||
getApplicationData ( ) : string | Get the binary string form of the application data contained in this ACE. | |
getFlags ( ) : |
Get the AceFlags object that contains all the flags set for this ACE. | |
getInheritedObjectType ( ) : |
Get the inherited GUID object type this ACE applies to. | |
getObjectFlags ( ) : |
Get the object flags that apply to the object type GUIDs. | |
getObjectType ( ) : |
Get the GUID object type this ACE applies to. | |
getRights ( ) : |
Get the AceRights object that contains all the rights flags set against this ACE. | |
getTrustee ( ) : |
Get the trustee SID this ACE applies to. | |
getType ( ) : |
Get the AceType. | |
isAllowAce ( ) : boolean | A convenience method to check whether this is an ace to allow access. | |
isDenyAce ( ) : boolean | A convenience method to check whether this is an ace to deny access. | |
isObjectAce ( ) : boolean | A convenience method to check whether this is an object type ACE. | |
setApplicationData ( string $appData ) | Set the binary string application data for this ACE. You MUST pass the binary form of the data. | |
setFlags ( |
Set the AceFlags object that contains all the flags set for this ACE. | |
setInheritedObjectType ( |
Set the inherited GUID object type this ACE applies to. | |
setObjectFlags ( |
Set the object flags that apply to the object type GUIDs. | |
setObjectType ( |
Set the GUID object type this ACE applies to. | |
setRights ( |
Set the AceRights for this ACE. | |
setTrustee ( |
Set the trustee SID this ACE applies to. | |
setType ( |
Set the AceType. | |
toBinary ( ) : string | Get the binary string representation of this ACE. | |
toSddl ( ) : string | Get the SDDL string format that represents this ACE. |
Method | Description | |
---|---|---|
decodeFromBinary ( string $ace ) | ||
endsWith ( string $needle, string $haystack ) : boolean | ||
startsWith ( string $needle, string $haystack ) : boolean | ||
toggleObjectStatus ( |
||
validateSid ( ) | Some quick checks before going to SDDL or binary. |
public __construct ( null | string | |
||
$ace | null | string | |
public getApplicationData ( ) : string | ||
return | string |
public getFlags ( ) : |
||
return |
public getInheritedObjectType ( ) : |
||
return |
public getObjectFlags ( ) : |
||
return |
public getObjectType ( ) : |
||
return |
public getRights ( ) : |
||
return |
public getTrustee ( ) : |
||
return |
public isAllowAce ( ) : boolean | ||
return | boolean |
public isObjectAce ( ) : boolean | ||
return | boolean |
public setApplicationData ( string $appData ) | ||
$appData | string |
public setFlags ( |
||
$aceFlags |
public setInheritedObjectType ( |
||
$guid |
public setObjectFlags ( |
||
$objectFlags |
public setObjectType ( |
||
$guid |
public setRights ( |
||
$aceRights |
public setTrustee ( |
||
$sid |
protected toggleObjectStatus ( |
||
$object | ||
$type | integer |
protected validateSid ( ) |
protected AceRights,LdapTools\Security\Ace $aceRights | ||
return |
protected $applciationData |
protected $inheritedObjectType |
protected $objectFlags |