SearchResult Event

Fired for every entry returned from a search operation.

Syntax

ANSI (Cross Platform)
virtual int FireSearchResult(LDAPSearchResultEventParams *e);
typedef struct {
int MessageId;
const char *DN; int reserved; } LDAPSearchResultEventParams; Unicode (Windows) virtual INT FireSearchResult(LDAPSearchResultEventParams *e);
typedef struct {
INT MessageId;
LPCWSTR DN; INT reserved; } LDAPSearchResultEventParams;
- (void)onSearchResult:(int)messageId :(NSString*)DN;
#define EID_LDAP_SEARCHRESULT 12

virtual INT IPWORKSAUTH_CALL FireSearchResult(INT &iMessageId, LPSTR &lpszDN);

Remarks

MessageId identifies the corresponding search request. DN contains the Distinguished Name of the entry, while the attribute type and value provided in the Attributes properties, show the list of retrieved attributes for the entry.

Every search operation results in a sequence of 0 or more SearchResult events, a sequence of 0 or more SearchResultReference events, followed by a SearchComplete event.

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