CWormsSessionLogOn(String, String, String, String, Boolean, String) Method |
Logs on to the WORMS system with the specified credentials.
Namespace: WotiAssembly: Woti (in Woti.dll) Version: 13.4.271.0
Syntaxpublic virtual bool LogOn(
string sTradeServer,
string sFirm,
string sUser,
string sPassword,
bool bAutoReconnect,
string sApplicationName
)
Public Overridable Function LogOn (
sTradeServer As String,
sFirm As String,
sUser As String,
sPassword As String,
bAutoReconnect As Boolean,
sApplicationName As String
) As Boolean
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
BooleanImplements
IWormsSessionLogOn(String, String, String, String, Boolean, String)
Exceptions
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