Skip to content

AdmSortOption

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

Inheritance: The AdmSortOption class inherits from the Object class.

Namespace: Softerra.Adaxes.Adsi

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 the Active 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 the Active 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