Open this page in the API Guide

ISessionService.SetSessionCulture Method

Sets session culture associated with the specified session.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
void SetSessionCulture(
	Guid sessionId,
	CultureInfo culture
)

Parameters

sessionId
Type: System.Guid
The session ID.
culture
Type: System.Globalization.CultureInfo
The culture.
Exceptions
ExceptionCondition
ArgumentException

sessionId is Empty.

-or-

culture is InvariantCulture.

ArgumentNullExceptionculture is null.
NotFoundExceptionThe specified session was not found.
NoPrivilegeExceptionsessionId does not correspond to the caller's session, and the caller is not an administrator.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also