TestimoX

API Reference

Class

SearchOptions

Namespace ADPlayground.Helpers
Assembly ADPlayground

Represents common options for LDAP searches.

Inheritance

  • Object
  • SearchOptions

Constructors

public SearchOptions(String domainName = null, String forestName = null, SearchScope searchScope = Subtree, Int32 pageSize = 1000) #

Creates a new instance with optional parameters.

Parameters

domainName System.String = null optionalposition: 0
forestName System.String = null optionalposition: 1
searchScope System.DirectoryServices.SearchScope = Subtree optionalposition: 2
pageSize System.Int32 = 1000 optionalposition: 3

Methods

public static SearchOptions Parse(IDictionary<String, Object> parameters) #
Returns: SearchOptions

Parses options from a dictionary.

Parameters

parameters System.Collections.Generic.IDictionary{System.String,System.Object} requiredposition: 0

Properties

public String DomainName { get; set; } #

Target domain name.

public String ForestName { get; set; } #

Target forest name.

public SearchScope SearchScope { get; set; } #

Search scope to use.

public Int32 PageSize { get; set; } #

Page size for queries.