Click or drag to resize

CWormsSessionLogOn(String, String, String, String, Boolean, String) Method

Logs on to the WORMS system with the specified credentials.

Namespace: Woti
Assembly: Woti (in Woti.dll) Version: 13.4.271.0
Syntax
public virtual bool LogOn(
	string sTradeServer,
	string sFirm,
	string sUser,
	string sPassword,
	bool bAutoReconnect,
	string sApplicationName
)

Parameters

sTradeServer  String
The name of the machine where the WormsSrv is located, with optional colon-separated port number.
sFirm  String
The user's firm.
sUser  String
User's WORMS login name.
sPassword  String
User's WORMS password.
bAutoReconnect  Boolean
 
sApplicationName  String
The name of the application logging on to the WORMS system.

Return Value

Boolean

Implements

IWormsSessionLogOn(String, String, String, String, Boolean, String)
Exceptions
ExceptionCondition
CWormsException
Remarks
LogOn is an asynchronous call. A return value of true only indicates that the log on request was not rejected. To determine when the log on process is successful, you must consume the ConnectionStateChanged event and query the CWotiSession.ConnectionState property for the CS_Connected value.
See Also