API Reference
UserQueryOptions
Options to control which users are gathered and how they are filtered.
Inheritance
- Object
- UserQueryOptions
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 DirectoryQuery.GetAsync
- Method IUsersSnapshotProvider.TryGetUsers
- Method UserGatherer.GetUsers
- Method UserGatherer.GetUsersAsync
- Method Users.Get
- Method Users.GetAsync
Constructors
public UserQueryOptions() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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.