ILogOnServiceLogOn Method (String, String, Boolean, CultureInfo) |
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,
CultureInfo? explicitCulture
)
Function LogOn (
accountName As String,
password As String,
deleteOtherSessions As Boolean,
explicitCulture As CultureInfo
) As LogOnResult
LogOnResult^ LogOn(
String^ accountName,
String^ password,
bool deleteOtherSessions,
CultureInfo^ explicitCulture
)
abstract LogOn :
accountName : string *
password : string *
deleteOtherSessions : bool *
explicitCulture : CultureInfo -> 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. - explicitCulture
- Type: System.GlobalizationCultureInfo
The culture to associate with the session, or to use the default culture for the account.
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