TestimoX

API Reference

Class

ApplyPlan

Namespace ADPlayground.Gpo.GpoLocal.LgpoPolicyApplyService
Assembly ADPlayground
Modifiers sealed

Prepared apply plan for writing a policy into registry.pol.

Inheritance

  • Object
  • ApplyPlan

Constructors

Properties

public String PolicyName { get; set; } #

Internal policy identifier (ADMX policy Name).

public String PolicyDisplayName { get; set; } #

Display name of the policy (localized when available).

public PolicyState State { get; set; } #

Desired state (Enabled/Disabled/NotConfigured).

public RegistryPolicyScope Scope { get; set; } #

LGPO scope to apply (Computer or User).

public String UserSid { get; set; } #

Optional user SID for per‑user LGPO when Scope is User.

public String DestinationPath { get; set; } #

Destination registry.pol path that will be written when applying.

public String BackupPath { get; set; } #

Optional backup path for the existing registry.pol (when backup requested).

public PolFile Payload { get; set; } #

Prepared policy payload (.pol) to be saved into DestinationPath.