Click or drag to resize
PortalLogin Method (String, String, String, String, String, Int16, Boolean)
This login works with Dynamics encrypted passwords.

Namespace: KampData.TaxEngine.API
Assembly: KDTaxEngine (in KDTaxEngine.dll) Version: 3.0.5512.25362
Syntax
public string Login(
	string server,
	string userId,
	string password,
	string systemDatabase,
	string companyDatabase,
	short timeOutSeconds,
	bool displayProgressBar
)

Parameters

server
Type: SystemString
SQL Server name as used in the connection string.
userId
Type: SystemString
Microsoft Dynamics GP Login Name
password
Type: SystemString
Microsoft Dynamics GP Password
systemDatabase
Type: SystemString
This is typically DYNAMICS
companyDatabase
Type: SystemString
SQL Server company database name
timeOutSeconds
Type: SystemInt16
Seconds elapsed before login times out. This setting will be set to the default if it is less than 1 second. The default is 15 seconds
displayProgressBar
Type: SystemBoolean
Display a progress bar to show time remaining before timeout.

Return Value

Type: String
An empty string if login is successful. An error message if not.
See Also