QuickBooks Integrator 2020 PHP Edition

Questions / Feedback?

AuthorizedAuthMode Property

This property defines how the user is authorized.

Object Oriented Interface

public function getAuthorizedAuthMode($authorizeduserindex);
public function setAuthorizedAuthMode($authorizeduserindex, $value);

Procedural Interface

inqb_qbconnector_get($res, 2 , $authorizeduserindex);
inqb_qbconnector_set($res, 2, $value , $authorizeduserindex);

Default Value

0

Remarks

This property defines how the user is authorized.

There are two ways that the user may be authorized, against the user list defined in the class, or as a Windows user. From the client side the process of connecting is exactly the same no matter which option you choose. Possible values are:

0 (amNormal - default) The user is authenticated against the user list defined in the class.
1 (amWindows) The user is authenticated as a Windows user.

When using the amNormal AuthMode (default) the user's password will be checked against the Password property.

When using the amWindows AuthMode the class will validate the user's credentials with Windows. When calling AddUser the Password parameter should be set to empty string.

The $authorizeduserindex parameter specifies the index of the item in the array. The size of the array is controlled by the AuthorizedUserCount property.

This property is not available at design time.

Data Type

Integer

Copyright (c) 2021 /n software inc. - All rights reserved.
QuickBooks Integrator 2020 PHP Edition - Version 20.0 [Build 7941]