SearchResultReference Event

Fired for every result reference returned from a search operation.

Syntax

ANSI (Cross Platform)
virtual int FireSearchResultReference(LDAPSearchResultReferenceEventParams *e);
typedef struct {
int MessageId;
const char *LdapUrl; int reserved; } LDAPSearchResultReferenceEventParams; Unicode (Windows) virtual INT FireSearchResultReference(LDAPSearchResultReferenceEventParams *e);
typedef struct {
INT MessageId;
LPCWSTR LdapUrl; INT reserved; } LDAPSearchResultReferenceEventParams;
- (void)onSearchResultReference:(int)messageId :(NSString*)ldapUrl;
#define EID_LDAP_SEARCHRESULTREFERENCE 13

virtual INT IPWORKSAUTH_CALL FireSearchResultReference(INT &iMessageId, LPSTR &lpszLdapUrl);

Remarks

MessageId identifies the corresponding search request. LdapUrl contains a URL reference to server that can be used for continuing the search operation.

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]