SessionTimeZone Property

Gets the time zone associated with the session.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public TimeZoneInfo TimeZone { get; }

Property Value

Type: TimeZoneInfo
Remarks

The value of this property is guaranteed to never be .

When an account logs on, a time zone is always associated with the resulting Session. The following procedure outlines how that time zone is determined:

  1. If the account has a specified time zone, that is used.
  2. If the account is a Windows account which is a member of one or more Windows Group accounts, and the distinct list of all specified time zones on those Windows Group accounts results in a single time zone, that time zone is used.
  3. If the account is a member of one or more groups, and the distinct list of all specified time zone on those groups results in a single time zone, that time zone is used.
  4. The time zone of the server (Local) is used.
See Also