QuickBooks Integrator 2020 iOS Edition

Questions / Feedback?

authorizedAuthMode (property)

This property defines how the user is authorized.

Syntax

- (int)authorizedAuthMode:(int)authorizedUserIndex;
- (void)setAuthorizedAuthMode:(int)authorizedUserIndex:(int)newAuthorizedAuthMode;

/* Possible Values */
AM_NORMAL(0),
AM_WINDOWS(1)
public func authorizedAuthMode(authorizedUserIndex: Int32) throws -> QbconnectorAuthorizedAuthModes
public func setAuthorizedAuthMode(authorizedUserIndex: Int32, newAuthorizedAuthMode: QbconnectorAuthorizedAuthModes) throws -> Void
public enum QbconnectorAuthorizedAuthModes : Int32 { case amNormal = 0 case amWindows = 1 }

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.

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