API Reference
GpoTargetComputerContext
Minimal facts about a target computer used for evaluating GPO applicability (WMI/security filtering).
Inheritance
- Object
- GpoTargetComputerContext
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method EffectivePolicyService.Get
- Method EffectivePolicyService.GetPair
- Method EffectivePolicyService.GetPlanForDn
- Method EffectiveComputerPolicyService.GetEffectiveForComputer
- Method EffectiveComputerPolicyService.GetEffectiveForTarget
- Method EffectivePolicyBatchService.GetForDn
- Method GpoApplicabilityEngine.GetApplicableGpoIdsForDn
- Method SecurityTokenBuilder.Build
- Method WmiFilterEvaluator.AppliesToContext
- Method WmiFilterEvaluator.TryAppliesToContextWithDetails
- Method WmiFilterEvaluator.TryAppliesToContextWithStatus
- Method GppParserService.Parse
Constructors
public GpoTargetComputerContext() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public String DomainName { get; set; } #DNS domain name.
public String ComputerDistinguishedName { get; set; } #Distinguished name of the target computer account (optional; used for principal SID lookup when available).
public String ComputerName { get; set; } #NetBIOS or FQDN of the target computer (optional; for display only).
public Boolean IsDomainController { get; set; } #True when this computer is a domain controller.
public Boolean IsPdcEmulator { get; set; } #True when this computer is the PDC emulator for its domain.
public Int32 DomainRole { get; set; } #Win32_ComputerSystem.DomainRole value. Typical: 5=PDC, 4=member DC, 2=member server, 1=workstation.
public IReadOnlyList<String> Sites { get; set; } #Optional AD site name(s) for the target computer.
public IReadOnlyList<String> TokenSids { get; set; } #Optional token SIDs representing the computer account and groups used for security filtering evaluation. When null, the applicability engine falls back to common principals (Authenticated Users, Domain Computers, Domain Controllers, Everyone).