QuickBooks Integrator V6 - Online Help
QuickBooks Integrator V6
Questions / Feedback?

Authorization Event

Fired when the client presents its credentials to the server.

Syntax

[VB.NET]
Public Event OnAuthorization As OnAuthorizationHandler
[C#]
public event OnAuthorizationHandler OnAuthorization;

public delegate void OnAuthorizationHandler(object sender, QbconnectorAuthorizationEventArgs e);

class QbconnectorAuthorizationEventArgs : EventArgs {
  string ConnectionId {get;}
  int UserIndex {get;}
  string User {get;}
  string Password {get;}
  bool Accept {get; set;}
}

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) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0