|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets the culture from the user's profile.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[] public static string GetCultureFromUser( context ) | |
| Visual Basic (Declaration) | |
|---|---|
<> _ Public Shared Function GetCultureFromUser ( _ context As _ ) As | |
Parameters
- context
- IRenderContext
Return Value
Returns the culture (e.g. en-US) of the current user or an empty string if no culture has been specified for the current user.
See Also
LocaleModule Class
Smartsite.Runtime.Modules Namespace