QuickBooks Integrator 2020 Python Edition

Questions / Feedback?

authorized_auth_mode Property

This property defines how the user is authorized.

Syntax

def get_authorized_auth_mode(authorized_user_index: int) -> int: ...
def set_authorized_auth_mode(authorized_user_index: int, value: int) -> None: ...

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 on_add_user the Password parameter should be set to empty string.

The authorized_user_index parameter specifies the index of the item in the array. The size of the array is controlled by the authorized_user_count property.

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