Previous Topic

Next Topic

Login - MaxBasic Function

Login(CompanyCode: String, UserName: String, Password: String[, ForceConversion: Boolean]): Boolean or

Login(CompanyName: String, UserName: String, Password: String[, ForceConversion: Boolean]): Boolean

Logs in to a specified Company using the User Name and Password provided. Usually used in Command Line scripts or for login via COM. Returns True if the login was successful, or False if the login was unsuccessful.

You can optionally force a data conversion by setting Force Conversion to True. This defaults to False and is only applicable to Command Line scripting. If this is set to True, and data conversion from an earlier version is required, data conversion will proceed automatically prior to login.

Login function syntax has these named arguments:

Parameter

Description

Company Code / Company Name

Required. The company to log in to.

User Name

Required. The User to log into the company.

Password

Required. The password for the User account.

Force Conversion

Optional. If True, automatically performs data conversion. Defaults to False.

See Also

User Functions

Book Contents

Book Index