Property | Type | Description | |
---|---|---|---|
$gpo | The GPO (name, DN, SID, or GUID) | ||
$options | The GPO options bit flags |
Method | Description | |
---|---|---|
__construct ( string | |
||
__toString ( ) : string | ||
getGpo ( ) : string | |
Get the GPO for the link. | |
getIsEnabled ( ) : boolean | Get whether the GPO link is enabled. | |
getIsEnforced ( ) : boolean | Get whether the GPO is enforced. | |
getOptionsFlag ( ) : integer | Get the GPO options bit flags. | |
setGpo ( string | |
Set the GPO for the link. | |
setIsEnabled ( boolean $isEnabled ) : |
Set whether the GPO link is enabled. | |
setIsEnforced ( boolean $isEnforced ) : |
Set whether the GPO is enforced. | |
setOptionsFlag ( integer $options ) | Set the GPO options bit flags. |
Method | Description | |
---|---|---|
isOptionFlagSet ( integer $flag ) : boolean | A quick check to determine if an option flag is already set. | |
modifyOptions ( boolean $action, integer $int ) | Modifies a specific bit in the options flag. Ignores it if it is already set to the desired action. |
public __construct ( string | |
||
$gpo | string | |
The GPO (name, DN, SID, GUID, or LdapObject) |
$options | integer | The GPO options bit flags |
public getIsEnabled ( ) : boolean | ||
return | boolean |
public getIsEnforced ( ) : boolean | ||
return | boolean |
public getOptionsFlag ( ) : integer | ||
return | integer |
protected isOptionFlagSet ( integer $flag ) : boolean | ||
$flag | integer | |
return | boolean |
protected modifyOptions ( boolean $action, integer $int ) | ||
$action | boolean | |
$int | integer |
public setIsEnabled ( boolean $isEnabled ) : |
||
$isEnabled | boolean | |
return |
public setIsEnforced ( boolean $isEnforced ) : |
||
$isEnforced | boolean | |
return |
public setOptionsFlag ( integer $options ) | ||
$options | integer |