Syntax
userLanguage(userNameOrKey)
Description
Returns the language for a user.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
| string | Yes | User name or key of a user to get the language for. |
Return type
string
The return value represents the language for the specified user.
Notes
User look-up is first made by a user key, then by a user name.
Example
userLanguage("jdoe");
Returns the language of a jdoe user.
See also