Result Event

Fired for every server response, except search responses.

Syntax

ANSI (Cross Platform)
virtual int FireResult(LDAPResultEventParams *e);
typedef struct {
int MessageId;
const char *DN;
int ResultCode;
const char *ResultDescription; int reserved; } LDAPResultEventParams; Unicode (Windows) virtual INT FireResult(LDAPResultEventParams *e);
typedef struct {
INT MessageId;
LPCWSTR DN;
INT ResultCode;
LPCWSTR ResultDescription; INT reserved; } LDAPResultEventParams;
- (void)onResult:(int)messageId :(NSString*)DN :(int)resultCode :(NSString*)resultDescription;
#define EID_LDAP_RESULT 9

virtual INT IPWORKS_CALL FireResult(INT &iMessageId, LPSTR &lpszDN, INT &iResultCode, LPSTR &lpszResultDescription);

Remarks

The MessageId parameter identifies the corresponding request. ResultCode and ResultDescription show whether the operation was successful (on a successful operation, the ResultCode is 0). For a full list of possible result codes, see the ResultCode property.

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