API Reference
Class
GroupQueryOptions
Options controlling advanced group queries (filtering, scoping, and shaping).
Inheritance
- Object
- GroupQueryOptions
Constructors
public GroupQueryOptions() #Inherited Methods
Properties
public String Domain { get; set; } #Target domain (DNS). When null, callers should supply domains explicitly.
public String SearchBase { get; set; } #Optional base DN to limit the search (e.g., OU=Groups,DC=contoso,DC=com).
public String LdapFilter { get; set; } #Precedence filter: raw LDAP filter to be ANDed with the group base filter.
public String SimpleFilter { get; set; } #RSAT-like filter expression (e.g., "Name -like 'Ops*' -and GroupScope -eq 'Global'"). Ignored when LdapFilter is set.
public GroupProperties PropertySet { get; set; } #Property set to fetch (maps to attribute list via StandardProperties).
public Boolean IncludeMemberCount { get; set; } #Include direct member counts (reads the member attribute).
public Int32 PageSize { get; set; } #LDAP page size for large queries. Defaults to 1000.
public Boolean UseCache { get; set; } #Enable in-memory caching of results for identical queries within CacheDuration.
public TimeSpan CacheDuration { get; set; } #Cache duration when UseCache is true. Defaults to 2 minutes.