TestimoX

API Reference

Struct

GpoOrganizationalUnitGpoLink

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

Represents a single GPO link entry on an Organizational Unit, as parsed from the OU's gPLink attribute.

Inheritance

  • ValueType
  • GpoOrganizationalUnitGpoLink

Constructors

public GpoOrganizationalUnitGpoLink(Guid gpoId, String gpoDomainName, String displayName, Boolean enabled, Boolean enforced, Int32 linkOrder, GpoLinkStatus status) #

Creates a new GpoOrganizationalUnitGpoLink instance.

Parameters

gpoId System.Guid requiredposition: 0
GPO identifier.
gpoDomainName System.String requiredposition: 1
DNS domain name that owns the GPO.
displayName System.String requiredposition: 2
Optional display name (when resolvable).
enabled System.Boolean requiredposition: 3
Whether the link is enabled.
enforced System.Boolean requiredposition: 4
Whether the link is enforced.
linkOrder System.Int32 requiredposition: 5
1-based link order within gPLink.
status ADPlayground.Gpo.GpoLinkStatus requiredposition: 6
Status of the link target.

Methods

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

Parameters

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

Properties

public Guid GpoId { get; set; } #

Identifier of the referenced GPO.

public String GpoDomainName { get; set; } #

DNS domain name that owns the referenced GPO.

public String DisplayName { get; set; } #

Optional display name of the referenced GPO (when resolvable).

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 Int32 LinkOrder { get; set; } #

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

public GpoLinkStatus Status { get; set; } #

Status of the link target (linked/broken).