userLocale

Description

Returns the locale for a user.

Parameters

Return Type

String

The return value represents the language code and the country code for the specified user.

Example

userLocale("admin");

Returns: The language of admin. (E.g: en_US)

See also