API Reference
UserQueryOptions
Options to control which users are gathered and how they are filtered.
Inheritance
- Object
- UserQueryOptions
Constructors
public UserQueryOptions() #Inherited Methods
Properties
public IEnumerable<String> Domains { get; set; } #Domains to query; defaults to current domain when empty.
public UserProperties PropertySet { get; set; } #Attribute set to retrieve from LDAP.
public UserFilter Filter { get; set; } #Filter flags restricting the result set.
public Nullable<Int32> MinInactiveDays { get; set; } #Minimum days of inactivity to include; null to ignore.
public Nullable<Int32> MinPasswordAgeDays { get; set; } #Minimum password age to include; null to ignore.
public Boolean ResolveTrueLastLogon { get; set; } #Compute true last logon across DCs (expensive; parallel LDAP).
public Int32 TrueLastLogonDegreeOfParallelism { get; set; } #Parallelism used when resolving true last logon.
public QueryStrategy Strategy { get; set; } #Query strategy when auto-tuning for large domains.
public Int32 LargeDomainThreshold { get; set; } #Domain size threshold used by Strategy.
public Boolean IncludeEncryptionTypes { get; set; } #Include msDS-SupportedEncryptionTypes in results.
public Boolean IncludeAdminMetadata { get; set; } #Include admin-related metadata (group membership, adminCount).
public Boolean IncludeSidHistory { get; set; } #Include sIDHistory values.
public Boolean IncludeDelegationMetadata { get; set; } #Include delegation-related metadata (AllowedToDelegateTo, UAC flags).
public Boolean IncludePrimaryGroup { get; set; } #Include primaryGroupID for classification.