IAdmSelectObjectParameters

The IAdmSelectObjectParameters interface specifies the criteria used to limit directory objects the user is allowed to select.

Methods

  • Method

  • Description

  • GetCriteria()

  • Returns the IAdmCriteria interface that represents the search criteria for directory objects the user is allowed to select.

  • SetCriteria()

  • Sets the search criteria for directory objects the user is allowed to select.

Properties

  • Property

  • Description

  • BaseObject

  • Gets or sets a reference to the directory object used as the search base.

  • Scope

  • Gets or sets a value indicating the search scope.

  • AllowMultipleSelection

  • Gets or sets a value indicating whether the user is allowed to select multiple objects.

Details

GetCriteria()

Returns the IAdmCriteria interface that represents the search criteria for directory objects the user is allowed to select.

IAdmCriteria GetCriteria()

SetCriteria()

Sets the search criteria for directory objects the user is allowed to select.

void SetCriteria(IAdmCriteria criteria)

Parameters

The criteria parameter specifies the search criteria for directory objects the user is allowed to select.


BaseObject

Gets or sets a reference to the directory object used as the search base.


Scope

Gets or sets a value indicating the search scope. For example, set the property to ADS_SCOPE_ONELEVEL, to allow the user to select only direct children of an organizational unit referenced in the BaseObject property.


AllowMultipleSelection

Gets or sets a value indicating whether the user is allowed to select multiple objects.

  • Type:
  • bool
  • Access:
  • Read/Write

Requirements

Minimum required version: 2023

See also