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.3.0.1000)
Syntax
LogOnResult LogOn(
	string accountName,
	string password,
	bool deleteOtherSessions,
	CultureInfo? explicitCulture
)

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: LogOnResult
An object describing the result of the logon operation.
Exceptions
ExceptionCondition
ArgumentException At least one of accountName and password are or empty.
See Also