ILogOnServiceLogOn Method (String, String, Boolean) |
Logs on using the provided account name and password.
Namespace:
Dundas.BI.AccountServices
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax LogOnResult LogOn(
string accountName,
string password,
bool deleteOtherSessions
)
Function LogOn (
accountName As String,
password As String,
deleteOtherSessions As Boolean
) As LogOnResult
LogOnResult^ LogOn(
String^ accountName,
String^ password,
bool deleteOtherSessions
)
abstract LogOn :
accountName : string *
password : string *
deleteOtherSessions : bool -> LogOnResult
Parameters
- accountName
- Type: SystemString
The account name. - password
- Type: SystemString
The password. - deleteOtherSessions
- Type: SystemBoolean
A flag indicating if other sessions should be deleted if required for the logon to succeed.
Return Value
Type:
LogOnResultAn object describing the result of the logon operation.
Exceptions Exception | Condition |
---|
ArgumentException |
At least one of accountName and password are or empty.
|
See Also