AdmSortOption

The AdmSortOption class is used to specify how to sort the directory search results.

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 sort direction.

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 – the name of the property to sort by. The property name must be specified as defined in your directory schema (e.g. department, cn, displayName).
  • sortDirection – 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 name must be specified as defined in your directory schema (e.g. department, cn, displayName).

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

Direction

Gets or sets the sort direction


Requirements

Minimum required version: 2009.1

See also