SearchScope Property

Controls the scope of LDAP search operations.

Syntax

ANSI (Cross Platform)
int GetSearchScope();
int SetSearchScope(int iSearchScope); Unicode (Windows) INT GetSearchScope();
INT SetSearchScope(INT iSearchScope);

Possible Values

SS_BASE_OBJECT(0), 
SS_SINGLE_LEVEL(1),
SS_WHOLE_SUBTREE(2)
@property (nonatomic,readwrite,assign,getter=searchScope,setter=setSearchScope:) int searchScope;
- (int)searchScope;
- (void)setSearchScope:(int)newSearchScope;

Possible Values

SS_BASE_OBJECT(0), 
SS_SINGLE_LEVEL(1),
SS_WHOLE_SUBTREE(2)
#define PID_LDAP_SEARCHSCOPE 29

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_LDAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_LDAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

2

Remarks

This property controls the scope of LDAP search operations. Possible values are:

ssBaseObject (0) Search only the base object.
ssSingleLevel (1) Search only one level, including objects directly below the base object, but not the base object itself.
ssWholeSubtree (2) Search the whole subtree, including the base object itself.

Default is to search the whole subtree.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]