AdmSortOption

The AdmSortOption class allows specifying how to sort results of a directory search.

Inheritance: Object

Namespace: Softerra.Adaxes.Adsi.Utils

Constructors

Methods

  • Method

  • Description

  • Parse()

  • Parses the specified string and creates an instance of the AdmSortOption class based on the parsed data.

Properties

  • Property

  • Description

  • PropertyName

  • Gets or sets the name of the property to sort by.

  • Direction

  • Gets or sets the direction to sort the results of the search.

Details

AdmSortOption()

Initializes a new instance of the AdmSortOption class.

AdmSortOption()

AdmSortOption(string, AdmSortDirection)

Initializes a new instance of the AdmSortOption class with the specified property name and sort direction.

AdmSortOption(string propertyName, AdmSortDirection sortDirection)

Parameters

  • propertyName - Specifies the name of the property to sort by. The parameter must contain the name of a directory object property as defined in your directory schema (e.g. "department", "cn", "displayName", "manager", etc.).
  • sortDirection - Specifies the sort direction.

Parse()

Parses the specified string and creates an instance of the AdmSortOption class based on the parsed data.

static AdmSortOption Parse(string source)

PropertyName

Gets or sets the name of the property to sort by. The property must be set to a string that contains the name of a directory object property as defined in your directory schema (e.g. "department", "cn", "displayName", "manager", etc.).

  • Type:
  • string
  • Access:
  • Read/Write

Direction

Gets or sets the direction to sort the results of the search.


Requirements

Minimum required version: 2009.1

See also