API Reference
Struct
GpoOrganizationalUnitGpoLink
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
- GPO identifier.
- gpoDomainName System.String
- DNS domain name that owns the GPO.
- displayName System.String
- Optional display name (when resolvable).
- enabled System.Boolean
- Whether the link is enabled.
- enforced System.Boolean
- Whether the link is enforced.
- linkOrder System.Int32
- 1-based link order within gPLink.
- status ADPlayground.Gpo.GpoLinkStatus
- Status of the link target.
Methods
Inherited Methods
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).