Cmdlets for LDAP

Build 24.0.9060

Scope Parameter (Connect-LDAP Cmdlet)

Whether to limit the scope of the search to the whole subtree (BaseDN and all of its descendants), a single level (BaseDN and its direct descendants), or the base object (BaseDN only).

Syntax

Connect-LDAP -Scope string

Possible Values

WHOLESUBTREE, SINGLELEVEL, BASEOBJECT

Data Type

cstr

Default Value

"WHOLESUBTREE"

Remarks

Limiting scope can greatly improve search performance. Set Scope to one of the following values:

  • WholeSubtree: Limit the scope of the search to the BaseDN and all of its descendants.
  • SingleLevel: Limit the scope of the search to the BaseDN and its direct descendants.
  • BaseObject: Limit the scope of the search to the base object only (BaseDN).

This is a required parameter.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060