PortalLogin Method (String, String, String, String, Int16, Boolean) |
This Login method is retained for backward compatibility. It uses
DYNAMICS as the system database and uses encrypted Dynamics passwords.
Namespace: KampData.TaxEngine.APIAssembly: KDTaxEngine (in KDTaxEngine.dll) Version: 3.0.5512.25362
Syntax public string Login(
string server,
string userId,
string password,
string companyDatabase,
short timeOutSeconds,
bool displayProgressBar
)
Public Function Login (
server As String,
userId As String,
password As String,
companyDatabase As String,
timeOutSeconds As Short,
displayProgressBar As Boolean
) As String
public:
String^ Login(
String^ server,
String^ userId,
String^ password,
String^ companyDatabase,
short timeOutSeconds,
bool displayProgressBar
)
member Login :
server : string *
userId : string *
password : string *
companyDatabase : string *
timeOutSeconds : int16 *
displayProgressBar : bool -> string
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 - 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:
StringAn empty string if login is successful. An error message
if not.
See Also