ExtendedResponse Event

Fired for LDAP V3 Extended Responses.

Syntax

ANSI (Cross Platform)
virtual int FireExtendedResponse(LDAPExtendedResponseEventParams *e);
typedef struct {
int MessageId;
const char *DN;
int ResultCode;
const char *ResultDescription;
const char *ResponseName;
const char *ResponseValue; int lenResponseValue; int reserved; } LDAPExtendedResponseEventParams; Unicode (Windows) virtual INT FireExtendedResponse(LDAPExtendedResponseEventParams *e);
typedef struct {
INT MessageId;
LPCWSTR DN;
INT ResultCode;
LPCWSTR ResultDescription;
LPCWSTR ResponseName;
LPCSTR ResponseValue; INT lenResponseValue; INT reserved; } LDAPExtendedResponseEventParams;
- (void)onExtendedResponse:(int)messageId :(NSString*)DN :(int)resultCode :(NSString*)resultDescription :(NSString*)responseName :(NSData*)responseValue;
#define EID_LDAP_EXTENDEDRESPONSE 6

virtual INT IPWORKSAUTH_CALL FireExtendedResponse(INT &iMessageId, LPSTR &lpszDN, INT &iResultCode, LPSTR &lpszResultDescription, LPSTR &lpszResponseName, LPSTR &lpResponseValue, INT &lenResponseValue);

Remarks

The first four parameters are the same as the parameters of the Result event. ResponseName and ResponseValue are related to the corresponding parameters of the call to ExtendedRequest.

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