TestimoX

API Reference

Struct

BrokenGpoLink

Namespace ADPlayground.Gpo
Assembly ADPlayground
Base ValueType
Implements
IEquatable<BrokenGpoLink>
Modifiers sealed

Represents a broken GPO link discovered by scanning gPLink values.

Inheritance

  • ValueType
  • BrokenGpoLink

Constructors

public BrokenGpoLink(String objectDn, String canonicalName, String objectClass, Guid gpoId, String gpoDomainName, Int32 linkOrder, Boolean enabled, Boolean enforced, String rawFragment) #

Creates a new BrokenGpoLink with the provided values.

Parameters

objectDn System.String requiredposition: 0
Distinguished name of the container that holds the link.
canonicalName System.String requiredposition: 1
Canonical name of the container.
objectClass System.String requiredposition: 2
Container object class.
gpoId System.Guid requiredposition: 3
Referenced GPO identifier.
gpoDomainName System.String requiredposition: 4
Domain that owns the referenced GPO.
linkOrder System.Int32 requiredposition: 5
1-based link order within gPLink.
enabled System.Boolean requiredposition: 6
Whether the link is enabled.
enforced System.Boolean requiredposition: 7
Whether the link is enforced.
rawFragment System.String requiredposition: 8
Raw gPLink fragment for this link.

Methods

public virtual Boolean Equals(BrokenGpoLink other) #
Returns: Boolean

Parameters

obj Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public String ObjectDn { get; set; } #

Distinguished name of the container (domain/OU/container/site) holding the link.

public String CanonicalName { get; set; } #

Canonical name of the container, when available (used for clearer display paths).

public String ObjectClass { get; set; } #

Object class of the container that holds the link (e.g., organizationalUnit, domainDNS, site).

public Guid GpoId { get; set; } #

Identifier of the referenced GPO (the missing or inaccessible object).

public String GpoDomainName { get; set; } #

DNS domain name that owns the referenced GPO (derived from the gPLink path).

public Int32 LinkOrder { get; set; } #

1-based order of the link within the gPLink value for the container.

public Boolean Enabled { get; set; } #

True when the link is enabled (opt & 2 == 0).

public Boolean Enforced { get; set; } #

True when the link is enforced (opt & 1 != 0).

public String RawFragment { get; set; } #

The raw gPLink fragment string for this link, as parsed.