A Sandcastle Documented Class Library

# ILogOnService LogOn Method (Boolean, CultureInfo)

Logs on to the system using the current Windows identity.

Namespace: Dundas.BI.AccountServices
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    LogOnResult LogOn(
    	bool deleteOtherSessions,
    	CultureInfo explicitCulture
    )

    Function LogOn (
    	deleteOtherSessions As Boolean,
    	explicitCulture As CultureInfo
    ) As LogOnResult

    LogOnResult^ LogOn(
    	bool deleteOtherSessions,
    	CultureInfo^ explicitCulture
    )

    abstract LogOn :
            deleteOtherSessions : bool *
            explicitCulture : CultureInfo -> LogOnResult

#### Parameters

deleteOtherSessions
  Type: System
  Boolean
  A flag indicating if other sessions should be deleted if required for the logon to succeed.
explicitCulture
  Type: System.Globalization
  CultureInfo
  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.
See Also

#### Reference

ILogOnService Interface
LogOn Overload
Dundas.BI.AccountServices Namespace