QuickBooks Integrator 2016 C++ Builder Edition
QuickBooks Integrator 2016 C++ Builder Edition
Questions / Feedback?

Authorization Event

Fired when the client presents its credentials to the server.

Syntax

typedef void __fastcall (__closure *TiqbQBConnectorAuthorizationEvent)(System::TObject* Sender, TiqbQBConnectorAuthorizationEventParams *e);


__property TiqbQBConnectorAuthorizationEvent OnAuthorization = {read=FOnAuthorization, write=FOnAuthorization};

typedef struct {
     int ConnectionId;
     int UserIndex;
     String User;
     String Password;
     bool Accept;
} TiqbQBConnectorAuthorizationEventParams;

Remarks

This is where the server can decide whether to continue or not, based on the supplied User and Password.

To accept or reject a connection set Accept to True of False.

The Accept parameter defaults to True if User is found in the AuthorizedUsers collection and Password matches, and False otherwise. The UserIndex parameter indicates the index at which the authorized user was found in the collection.

A UserIndex of -1 means that no matching credentials were found in the AuthorizedUsers collection.

 
 
Copyright (c) 2020 /n software inc. - All rights reserved.
QuickBooks Integrator 2016 C++ Builder Edition - Version 16.0 [Build 7353]